NEZ-2026 fix:chart duplicate 后 表达式变量 被替换
This commit is contained in:
@@ -57,8 +57,11 @@ export default {
|
||||
this.dropdownMenuShow = false
|
||||
},
|
||||
duplicate () {
|
||||
const obj = this.$loadsh.cloneDeep(this.chartInfo)
|
||||
obj.elements = obj.oldElements
|
||||
delete obj.oldElements
|
||||
this.$store.dispatch('dispatchEditChart', {
|
||||
chart: this.chartInfo,
|
||||
chart: obj,
|
||||
type: 'duplicate'
|
||||
})
|
||||
this.dropdownMenuShow = false
|
||||
|
||||
Reference in New Issue
Block a user