fix: restore main transfer pages with smooth routing
This commit is contained in:
@@ -13,6 +13,8 @@ export function useAppShell() {
|
||||
const { isLoading, setupRouteLoading } = useRouteLoading(router)
|
||||
const { syncPublicConfig } = usePublicConfigBootstrap()
|
||||
const showGlobalControls = computed(() => route.meta.showGlobalControls !== false)
|
||||
const routeTransitionName = computed(() => String(route.meta.routeTransition || 'fade'))
|
||||
const routeTransitionMode = computed(() => (route.meta.routeTransition ? undefined : 'out-in'))
|
||||
const routeViewKey = computed(() =>
|
||||
route.path === ROUTES.ADMIN || route.path.startsWith(`${ROUTES.ADMIN}/`)
|
||||
? ROUTES.ADMIN
|
||||
@@ -52,6 +54,8 @@ export function useAppShell() {
|
||||
isDarkMode,
|
||||
isLoading,
|
||||
route,
|
||||
routeTransitionMode,
|
||||
routeTransitionName,
|
||||
routeViewKey,
|
||||
showGlobalControls
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user