feat(视图):视图保留实时计算与渲染功能,但不实时保存,提供保存与重置按钮

This commit is contained in:
junjie 2021-11-10 16:11:45 +08:00
parent 5bcdcf6bf5
commit 30fee4e97d

View File

@ -1096,6 +1096,7 @@ export default {
const view = JSON.parse(JSON.stringify(this.view))
view.customAttr = JSON.stringify(this.view.customAttr)
view.customStyle = JSON.stringify(this.view.customStyle)
view.data = JSON.parse(JSON.stringify(this.data))
this.chart = view
},