mirror of
https://gitee.com/dromara/go-view.git
synced 2024-11-30 02:38:30 +08:00
fix: 柱状图传入错误数据后展示问题
This commit is contained in:
parent
ef7efc768c
commit
3cdbafa200
@ -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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user