fix: 样式优先级没有立即生效问题

This commit is contained in:
wangjiahao 2022-04-01 19:37:47 +08:00
parent a427a2b1c8
commit a2bd03d86f
2 changed files with 3 additions and 0 deletions

View File

@ -758,9 +758,11 @@ export default {
this.chart.customStyle = param.viewInfo.customStyle
this.chart.senior = param.viewInfo.senior
this.chart.title = param.viewInfo.title
this.chart.stylePriority = param.viewInfo.stylePriority
this.sourceCustomAttrStr = this.chart.customAttr
this.sourceCustomStyleStr = this.chart.customStyle
this.mergeScale()
this.mergeStyle()
}
}
}

View File

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