Merge pull request #1160 from dataease/pr@dev@feat_chart

feat(视图):视图保留实时计算与渲染功能,但不实时保存,提供保存与重置按钮
This commit is contained in:
XiaJunjie2020
2021-11-10 16:14:46 +08:00
committed by GitHub

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
},