|
@@ -1014,7 +1014,13 @@ func (this *ChartInfoController) ChartInfoDetail() {
|
|
|
br.ErrMsg = "获取主题信息失败,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
- chartInfo.ChartThemeStyle = chartTheme.Config
|
|
|
+ // 兼容历史数据,加入新字段LineOptionList
|
|
|
+ newConfig, e := data.ConvertOldChartOptions(chartTheme.Config)
|
|
|
+ if e != nil {
|
|
|
+ chartInfo.ChartThemeStyle = chartTheme.Config
|
|
|
+ } else {
|
|
|
+ chartInfo.ChartThemeStyle = newConfig
|
|
|
+ }
|
|
|
chartInfo.ChartThemeId = chartTheme.ChartThemeId
|
|
|
|
|
|
// 图表数据权限
|