perf: 调整

This commit is contained in:
rd
2025-09-10 16:32:17 +08:00
parent 3e0c1b2dc4
commit 502d3a7d46

View File

@ -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菜单、允许访问的路由
} }