forked from github/dataease
Merge pull request #11387 from dataease/pr@dev-v2@feat_tab-carousel-style
feat(仪表板): Tab组件支持轮播 #9566
This commit is contained in:
commit
026a850124
@ -402,6 +402,13 @@ const reShow = () => {
|
||||
})
|
||||
}
|
||||
|
||||
watch(
|
||||
() => isEditMode.value,
|
||||
() => {
|
||||
initCarousel()
|
||||
}
|
||||
)
|
||||
|
||||
const initCarousel = () => {
|
||||
carouselTimer && clearInterval(carouselTimer)
|
||||
carouselTimer = null
|
||||
|
Loading…
Reference in New Issue
Block a user