Merge pull request #1984 from dataease/pr@dev@fix_panel-style

fix: 修改标题不实时显示问题
This commit is contained in:
王嘉豪 2022-03-28 21:42:07 +08:00 committed by GitHub
commit bcad40bfda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -757,6 +757,7 @@ export default {
this.chart.customAttr = param.viewInfo.customAttr
this.chart.customStyle = param.viewInfo.customStyle
this.chart.senior = param.viewInfo.senior
this.chart.title = param.viewInfo.title
this.sourceCustomAttrStr = this.chart.customAttr
this.sourceCustomStyleStr = this.chart.customStyle
this.mergeScale()

View File

@ -1717,6 +1717,7 @@ export default {
view.customStyle = JSON.stringify(this.view.customStyle)
view.customFilter = JSON.stringify(this.view.customFilter)
view.senior = JSON.stringify(this.view.senior)
view.title = this.view.title
// view.data = this.data
this.chart = view