fix: type error

pull/144/MERGE
xingyu4j 2025-06-15 19:22:52 +08:00
parent 52e04179e4
commit 841ea4bf36
1 changed files with 4 additions and 3 deletions

View File

@ -21,10 +21,11 @@ const accessStore = useAccessStore();
const tenantEnable = isTenantEnable(); const tenantEnable = isTenantEnable();
const value = ref<number>(accessStore.visitTenantId ?? undefined); // 访 ID // 访 ID
const tenants = ref<SystemTenantApi.Tenant[]>([]); // const value = ref<number | undefined>(accessStore.visitTenantId ?? undefined);
//
const tenants = ref<SystemTenantApi.Tenant[]>([]);
// TODO @xingyu 3
async function handleChange(id: SelectValue) { async function handleChange(id: SelectValue) {
// 访 ID // 访 ID
accessStore.setVisitTenantId(id as number); accessStore.setVisitTenantId(id as number);