fix: 复制场景会出现场景名称一样的情况

修复制场景会出现场景名称一样的情况的问题
This commit is contained in:
song.tianyang 2021-01-21 19:07:30 +08:00
parent d214bca4bc
commit ce7aa0e947
1 changed files with 4 additions and 3 deletions

View File

@ -463,9 +463,10 @@
});
},
copy(row) {
row.copy = true;
row.name = 'copy_'+row.name;
this.$emit('edit', row);
let rowParam = JSON.parse(JSON.stringify(row));
rowParam.copy = true;
rowParam.name = 'copy_'+rowParam.name;
this.$emit('edit', rowParam);
},
showReport(row) {
this.runVisible = true;