更新后端传tenantid

This commit is contained in:
hero920103 committed 2026-02-26 23:43:02 +08:00
1 parent f8437d15b4
commit 07d3614d9c
4 files changed
+107 -31

No files matched your search

+3
View File
@@ -5,6 +5,9 @@ import { onMounted } from 'vue';
// 使用 auth store 获取用户信息
const authStore = useAuthStore();
// 获取租户ID
const tenantId = (authStore.user as any)?.tenant_id;
// 获取用户信息
const userInfo = authStore.user;
if (userInfo && userInfo.id) {