Merge pull request #11387 from dataease/pr@dev-v2@feat_tab-carousel-style

feat(仪表板): Tab组件支持轮播 #9566
This commit is contained in:
王嘉豪 2024-08-06 17:58:35 +08:00 committed by GitHub
commit 026a850124
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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