Commit 24fe6e6d authored by chenqikuai's avatar chenqikuai

fix:修复复制bug

parent 9fb8188b
...@@ -82,12 +82,11 @@ ...@@ -82,12 +82,11 @@
v-if="name" v-if="name"
class="overflow-hidden overflow-ellipsis" class="overflow-hidden overflow-ellipsis"
id="copyNodeId" id="copyNodeId"
:data-clipboard-text="name"
> >
{{ name }} {{ name }}
</div> </div>
<div <div
data-clipboard-target="#copyNodeId" :data-clipboard-text="name"
ref="btn" ref="btn"
@click="handleClickCopy" @click="handleClickCopy"
> >
...@@ -165,9 +164,6 @@ export default Vue.extend({ ...@@ -165,9 +164,6 @@ export default Vue.extend({
show: false, show: false,
}; };
}, },
mounted() {
console.log(this.value, "show value");
},
methods: { methods: {
handleInput(e: any) { handleInput(e: any) {
// const temp = this.inputValue; // const temp = this.inputValue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment