feat: 增加切换租户功能

This commit is contained in:
xingyu4j
2025-05-06 14:11:46 +08:00
parent e495219c87
commit 64ee81c327
5 changed files with 103 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ import { useAuthStore } from '#/store';
import LoginForm from '#/views/_core/authentication/login.vue';
import Help from './components/help.vue';
import TenantDropdown from './components/tenant-dropdown.vue';
const userStore = useUserStore();
const authStore = useAuthStore();
@@ -202,6 +203,9 @@ watch(
@read="handleNotificationRead"
/>
</template>
<template #header-right-1>
<TenantDropdown class="w-30 mr-2" />
</template>
<template #extra>
<AuthenticationLoginExpiredModal
v-model:open="accessStore.loginExpired"