perf: 调整
This commit is contained in:
@ -28,7 +28,7 @@ export async function initApp() {
|
|||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
const chatStore = useChatStore();
|
const chatStore = useChatStore();
|
||||||
|
|
||||||
chatStore.getAgentInfo(); // 初始化智能体信息
|
await chatStore.getAgentInfo(); // 初始化智能体信息
|
||||||
await userStore.getUserInfo(); // 初始化用户信息
|
await userStore.getUserInfo(); // 初始化用户信息
|
||||||
await getUserEnterpriseInfo(); // 初始化企业信息、navbar菜单、允许访问的路由
|
await getUserEnterpriseInfo(); // 初始化企业信息、navbar菜单、允许访问的路由
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user