Commit e0ae3bd2e95045ccb1c4630ff511e93dc8ca3277
1 parent
06d82be0
feat(packages/external): 重写部分柱状图和部分折线图,新增开启关闭动画效果
Showing
3 changed files
with
4 additions
and
3 deletions
... | ... | @@ -156,11 +156,12 @@ watch( |
156 | 156 | ) |
157 | 157 | |
158 | 158 | const { vChartRef } = useChartDataFetch(props.chartConfig, useChartEditStore, (newData: typeof dataJson) => { |
159 | - addPieInterval(newData) | |
159 | + // addPieInterval(newData) | |
160 | 160 | }) |
161 | 161 | |
162 | 162 | onMounted(() => { |
163 | 163 | seriesDataMaxLength = dataJson.source.length |
164 | + console.log(props.chartConfig.option.isCarousel) | |
164 | 165 | if (props.chartConfig.option.isCarousel) { |
165 | 166 | addPieInterval(undefined, true) |
166 | 167 | } | ... | ... |