更新后端传tenantid
This commit is contained in:
1 parent
f8437d15b4
commit
07d3614d9c
4 files changed
+107
-31
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user