This commit is contained in:
13713575202 2025-05-22 15:47:44 +08:00
parent 33956d49cb
commit 07dbd6398d

View File

@ -88,7 +88,6 @@ export default {
Object.assign(option, cloneDeep(props.option));
} else {
Object.assign(option, cloneDeep(props.option));
}
let typeArr = Array.from(new Set(props.chartData.map((item) => item.type)));
let xAxisData = Array.from(new Set(props.chartData.map((item) => item.name)));
let seriesData = [];
@ -120,6 +119,7 @@ export default {
} else {
option.xAxis.data = xAxisData;
}
}
console.log(option);
setOptions(option);
startAutoPlay({