perf: 优化 租户切换

This commit is contained in:
xingyu4j
2025-05-06 15:44:31 +08:00
parent e5f33cd12b
commit bd02645e26
4 changed files with 47 additions and 45 deletions

View File

@@ -7,15 +7,8 @@ import { acceptHMRUpdate, defineStore } from 'pinia';
type AccessToken = null | string;
type VisitTenantId = {
accountCount: number;
contactMobile: string;
contactName: string;
expireTime: Date;
id?: number;
id: number;
name: string;
packageId: number;
status: number;
website: string;
};
interface AccessState {