feat: restore original admin shell quality

This commit is contained in:
2026-06-11 20:10:19 +08:00
parent 1fba0aafb2
commit ff024af5b5
8 changed files with 211 additions and 20 deletions
+7 -1
View File
@@ -27,6 +27,9 @@ const UserDropdown = defineAsyncComponent(() =>
(module) => module.UserDropdown,
),
);
const LockScreen = defineAsyncComponent(() =>
import('@vben/layouts/es/lock-screen').then((module) => module.LockScreen),
);
const NotificationPopup = defineAsyncComponent(
() => import('#/components/notification/NotificationPopup.vue'),
);
@@ -227,7 +230,7 @@ watch(
</script>
<template>
<BasicLayout>
<BasicLayout @clear-preferences-and-logout="handleLogout">
<template #user-dropdown>
<UserDropdown
:avatar
@@ -286,5 +289,8 @@ watch(
<LoginForm />
</AuthenticationLoginExpiredModal>
</template>
<template #lock-screen>
<LockScreen :avatar @to-login="handleLogout" />
</template>
</BasicLayout>
</template>