V2アプリ一覧バッグ修正

This commit is contained in:
xiaozhe.ma
2024-11-17 18:41:40 +09:00
parent 1f0b05ee13
commit fa120d2ce9
6 changed files with 312 additions and 112 deletions

View File

@@ -35,6 +35,9 @@ export const useAuthStore = defineStore('auth', {
},
},
actions: {
setLeftMenu(value:boolean){
this.LeftDrawer=value;
},
toggleLeftMenu() {
this.LeftDrawer = !this.LeftDrawer;
},
@@ -60,7 +63,8 @@ export const useAuthStore = defineStore('auth', {
}
},
async getCurrentDomain(): Promise<IDomainInfo> {
const activedomain = (await api.get(`api/activedomain`))?.data;
const resp = await api.get(`api/activedomain`);
const activedomain = resp?.data;
return {
id: activedomain?.id,
domainName: activedomain?.name,