Unverified 提交 159db89a authored 作者: 王嘉豪's avatar 王嘉豪 提交者: GitHub

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

fix: 样式优先级没有立即生效问题
...@@ -758,9 +758,11 @@ export default { ...@@ -758,9 +758,11 @@ export default {
this.chart.customStyle = param.viewInfo.customStyle this.chart.customStyle = param.viewInfo.customStyle
this.chart.senior = param.viewInfo.senior this.chart.senior = param.viewInfo.senior
this.chart.title = param.viewInfo.title this.chart.title = param.viewInfo.title
this.chart.stylePriority = param.viewInfo.stylePriority
this.sourceCustomAttrStr = this.chart.customAttr this.sourceCustomAttrStr = this.chart.customAttr
this.sourceCustomStyleStr = this.chart.customStyle this.sourceCustomStyleStr = this.chart.customStyle
this.mergeScale() this.mergeScale()
this.mergeStyle()
} }
} }
} }
......
...@@ -1744,6 +1744,7 @@ export default { ...@@ -1744,6 +1744,7 @@ export default {
view.customFilter = JSON.stringify(this.view.customFilter) view.customFilter = JSON.stringify(this.view.customFilter)
view.senior = JSON.stringify(this.view.senior) view.senior = JSON.stringify(this.view.senior)
view.title = this.view.title view.title = this.view.title
view.stylePriority = this.view.stylePriority
// view.data = this.data // view.data = this.data
this.chart = view this.chart = view
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论