refactor(user): 重构用户信息获
This commit is contained in:
@ -42,9 +42,9 @@ export async function initApp() {
|
||||
const enterpriseStore = useEnterpriseStore();
|
||||
|
||||
await userStore.getUserInfo(); // 初始化用户信息
|
||||
await getUserEnterpriseInfo(); // 初始化企业信息
|
||||
|
||||
if (enterpriseStore.isOpenEnterprise) {
|
||||
await getUserEnterpriseInfo(); // 初始化企业信息
|
||||
chatStore.getAgentInfo(); // 初始化智能体信息
|
||||
|
||||
sidebarStore.startUnreadInfoPolling(); // 初始化未读信息
|
||||
|
||||
Reference in New Issue
Block a user