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

feat(视图):视图保留实时计算与渲染功能,但不实时保存,提供保存与重置按钮
This commit is contained in:
XiaJunjie2020 2021-11-10 17:39:46 +08:00 committed by GitHub
commit 443bc06782
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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