|
@@ -593,8 +593,9 @@ export default {
|
|
|
.then((res) => {
|
|
|
if (res.Ret !== 200) return;
|
|
|
const { ChartInfo,EdbInfoList,BarChartInfo} = res.Data;
|
|
|
- const {IsNameDefault} = ChartInfo.ExtraConfig?JSON.parse(ChartInfo.ExtraConfig):{}
|
|
|
- this.IsNameDefault = IsNameDefault||true
|
|
|
+ const {SeriesList=[]} = ChartInfo.ExtraConfig?JSON.parse(ChartInfo.ExtraConfig):{}
|
|
|
+ const {IsNameDefault=true} = SeriesList.length?SeriesList[0]:[]
|
|
|
+ this.IsNameDefault = IsNameDefault
|
|
|
|
|
|
this.chartInfo = {
|
|
|
...ChartInfo,
|