@@ -1099,7 +1099,7 @@ export const chartSetMixin = {
/* 主题样式*/
const chartTheme = this.chartInfo.ChartThemeStyle ? JSON.parse(this.chartInfo.ChartThemeStyle) : null;
// 跟颜色对应
- chartTheme.lineOptionList=chartTheme.lineOptionList.reverse().slice(-chartDataHandle.length)
+ chartTheme && (chartTheme.lineOptionList=chartTheme.lineOptionList.reverse().slice(-chartDataHandle.length))
let seasonYdata = [],
seasonData = [];
@@ -450,7 +450,7 @@ export default {
temChartDataList
seasonData = []