refactor: streamline admin management UI

This commit is contained in:
Lan
2026-06-03 12:06:12 +08:00
parent c81c85a41a
commit 2428409953
11 changed files with 215 additions and 1210 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import LanguageSwitcher from './components/common/LanguageSwitcher.vue'
import AlertComponent from '@/components/common/AlertComponent.vue'
import { useAppShell } from '@/composables'
const { isDarkMode, isLoading, route, showGlobalControls } = useAppShell()
const { isDarkMode, isLoading, routeViewKey, showGlobalControls } = useAppShell()
</script>
<template>
@@ -19,7 +19,7 @@ const { isDarkMode, isLoading, route, showGlobalControls } = useAppShell()
</div>
<RouterView v-slot="{ Component }">
<transition name="fade" mode="out-in">
<component :is="Component" :key="route.fullPath" />
<component :is="Component" :key="routeViewKey" />
</transition>
</RouterView>