From 02d986d25eea46cbbe019657848a26364e66bd32 Mon Sep 17 00:00:00 2001 From: Lazy <2211717435@qq.com> Date: Mon, 17 Feb 2025 16:56:56 +0800 Subject: [PATCH 1/2] refactor: copy btn --- frontend/src/components/CopyButton.vue | 22 ++------------- frontend/src/components/MyselfInfoDialog.vue | 2 +- frontend/src/tools/copy.ts | 29 ++++++++++++++++++++ 3 files changed, 32 insertions(+), 21 deletions(-) create mode 100644 frontend/src/tools/copy.ts diff --git a/frontend/src/components/CopyButton.vue b/frontend/src/components/CopyButton.vue index fcf967b2..91a692d5 100644 --- a/frontend/src/components/CopyButton.vue +++ b/frontend/src/components/CopyButton.vue @@ -1,39 +1,21 @@ diff --git a/frontend/src/widgets/node/NodeItem.vue b/frontend/src/widgets/node/NodeItem.vue index f5a5c340..e08a16c9 100644 --- a/frontend/src/widgets/node/NodeItem.vue +++ b/frontend/src/widgets/node/NodeItem.vue @@ -228,7 +228,7 @@ onMounted(() => { :span="6" > -
+
{{ detail.title }}