perf : onCopy 方法提取到 mainMixinFun.js文件

This commit is contained in:
likexuan
2022-06-22 16:25:25 +08:00
parent b4aafb6fed
commit 6507b23257
3 changed files with 7 additions and 6 deletions

View File

@@ -134,11 +134,6 @@ export default {
},
rowKey (row) { // ping trace的 唯一key
return row.ip + '-' + row.dc.id
},
onCopy (txt) {
this.$copyText(txt).then(() => {
this.$message.success({ message: this.$t('overall.copySuccess') })
})
}
},
watch: {