fix: 柱状图传入错误数据后展示问题

This commit is contained in:
headmasterZhao 2023-04-04 09:35:28 +08:00
parent ef7efc768c
commit 3cdbafa200

View File

@ -52,7 +52,6 @@ watch(
() => props.chartConfig.option.dataset,
(newData: { dimensions: any }, oldData) => {
try {
debugger
if (!isObject(newData) || !('dimensions' in newData)) return
if (Array.isArray(newData?.dimensions)) {
const seriesArr = []