|
@@ -32,7 +32,7 @@ export function useTargetTenantIdSetting() {
|
|
|
return localStorage.getItem(fullKey);
|
|
return localStorage.getItem(fullKey);
|
|
|
}
|
|
}
|
|
|
const sysTenantId = getValue() || userStore.info.tenantId?.toString();
|
|
const sysTenantId = getValue() || userStore.info.tenantId?.toString();
|
|
|
- const isSysTenant = computed(() => sysTenantId !== SYS_TENANT_ID.toString())
|
|
|
|
|
|
|
+ const isSysTenant = sysTenantId !== SYS_TENANT_ID.toString();
|
|
|
|
|
|
|
|
return { setValue, getValue, isSysTenant };
|
|
return { setValue, getValue, isSysTenant };
|
|
|
}
|
|
}
|