NEZ-1965 feat : asset列表页面内容复制功能

This commit is contained in:
likexuan
2022-06-21 13:59:36 +08:00
parent 2fcf5606e5
commit 28de62396f
5 changed files with 34 additions and 1 deletions

View File

@@ -134,6 +134,11 @@ 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: {