更新后端传tenantid

This commit is contained in:
2026-02-26 23:43:02 +08:00
parent f8437d15b4
commit 07d3614d9c
4 changed files with 107 additions and 31 deletions
+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) {