fix: 解决饼图会自动轮播的问题
This commit is contained in:
parent
c0c68e8b59
commit
b5750246f1
@ -134,7 +134,10 @@ watch(
|
||||
)
|
||||
|
||||
const { vChartRef } = useChartDataFetch(props.chartConfig, useChartEditStore, (newData: typeof dataJson) => {
|
||||
addPieInterval(newData)
|
||||
clearPieInterval()
|
||||
if (props.chartConfig.option.isCarousel) {
|
||||
addPieInterval(newData)
|
||||
}
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user