Merge pull request #2027 from dataease/pr@dev@refactor-panel-inner-style

fix: 样式优先级没有立即生效问题
This commit is contained in:
王嘉豪 2022-04-01 19:38:26 +08:00 committed by GitHub
commit 159db89ae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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