From 502d3a7d4658149c79d95a0ade0a7e6c70f321dc Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Wed, 10 Sep 2025 16:32:17 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/user.ts b/src/utils/user.ts index 08d213a..99fcf29 100644 --- a/src/utils/user.ts +++ b/src/utils/user.ts @@ -28,7 +28,7 @@ export async function initApp() { const userStore = useUserStore(); const chatStore = useChatStore(); - chatStore.getAgentInfo(); // 初始化智能体信息 + await chatStore.getAgentInfo(); // 初始化智能体信息 await userStore.getUserInfo(); // 初始化用户信息 await getUserEnterpriseInfo(); // 初始化企业信息、navbar菜单、允许访问的路由 }