NEZ-1965 feat : asset列表页面内容复制功能
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user