更新后端传tenantid
This commit is contained in:
@@ -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