perf: 申请试用后 初始化权限列表

This commit is contained in:
rd
2025-07-09 15:27:28 +08:00
parent e48681a4ec
commit eb81cb04c3
4 changed files with 22 additions and 14 deletions

View File

@ -45,7 +45,7 @@ export const useEnterpriseStore = defineStore('enterprise', {
this.enterpriseInfo.used_sub_account_count++;
}
},
async getUserEnterpriseInfo() {
async getEnterpriseInfo() {
if (this.enterpriseInfo) {
const { code, data } = await fetchEnterpriseInfo(this.enterpriseInfo!.id);
if (code === 200) {