small adjustments
This commit is contained in:
@@ -87,7 +87,8 @@ export default {
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
visible(newValue) { if (newValue) {
|
||||
visible(newValue) {
|
||||
if (newValue) {
|
||||
this.resetData()
|
||||
}
|
||||
},
|
||||
|
||||
@@ -226,8 +226,9 @@ export default {
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
visible(newValue) { if (newValue) {
|
||||
this.updateData()
|
||||
visible(newValue) {
|
||||
if (newValue) {
|
||||
this.updateData()
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
@@ -43,7 +43,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
copyToClipboard(txt:string) {
|
||||
|
||||
const clipboard = new Clipboard('.clipboard-btn', {
|
||||
text: () => txt
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user