From 5651108ac205c71f246c4ae1f09b05daeacfd368 Mon Sep 17 00:00:00 2001
From: Coffee-crocodile <1147347984@qq.com>
Date: Sun, 25 Jun 2023 13:32:16 +0800
Subject: [PATCH] feat(components): add `copy-text`
---
src/components/custom/CopyText.vue | 31 ++++++++++++++++++++++++++++
src/views/plugin/clipboard/index.vue | 2 ++
2 files changed, 33 insertions(+)
create mode 100644 src/components/custom/CopyText.vue
diff --git a/src/components/custom/CopyText.vue b/src/components/custom/CopyText.vue
new file mode 100644
index 0000000..3a28753
--- /dev/null
+++ b/src/components/custom/CopyText.vue
@@ -0,0 +1,31 @@
+
+
+
+
+
+ {{ text }}
+
+
+
+
+
+
+
+
diff --git a/src/views/plugin/clipboard/index.vue b/src/views/plugin/clipboard/index.vue
index e9c1053..cbef660 100644
--- a/src/views/plugin/clipboard/index.vue
+++ b/src/views/plugin/clipboard/index.vue
@@ -11,6 +11,8 @@ const text = ref('Hello v-copy')
v-copy复制
+ copy-text组件 使用
+