mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
fix: tab missing after costuming order (#634)
This commit is contained in:
@@ -33,10 +33,6 @@ const gridLayoutIcons = computed((): GridLayoutIcon[] => {
|
||||
]
|
||||
})
|
||||
|
||||
watch(() => activatedPage.value, () => {
|
||||
handleBackToTop(settings.value.useSearchPageModeOnHomePage ? 510 : 0)
|
||||
})
|
||||
|
||||
// use Json stringify to watch the changes of the array item properties
|
||||
watch(() => JSON.stringify(settings.value.homePageTabVisibilityList), () => {
|
||||
currentTabs.value = computeTabs()
|
||||
@@ -113,6 +109,9 @@ function handleChangeTab(tab: HomeTab) {
|
||||
}
|
||||
return
|
||||
}
|
||||
else {
|
||||
handleBackToTop(settings.value.useSearchPageModeOnHomePage ? 510 : 0)
|
||||
}
|
||||
|
||||
// When the content of a tab is loading, prevent switching to another tab.
|
||||
// Since `initPageAction()` within the tab replaces the `handleReachBottom` and `handlePageRefresh` functions.
|
||||
|
||||
Reference in New Issue
Block a user