feat(仪表板): Tab组件支持轮播 #9566

This commit is contained in:
wangjiahao 2024-08-06 17:58:04 +08:00
parent 3ab1b81f67
commit e4bd7d6d4b

View File

@ -402,6 +402,13 @@ const reShow = () => {
})
}
watch(
() => isEditMode.value,
() => {
initCarousel()
}
)
const initCarousel = () => {
carouselTimer && clearInterval(carouselTimer)
carouselTimer = null