perf: 调整

This commit is contained in:
rd
2025-09-10 16:31:40 +08:00
parent 3a0ab4f48f
commit 3e0c1b2dc4
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<template>
<ConfigProvider :locale="zhCN" :theme="redTheme">
<router-view v-if="$route.path === '/login' || ['ExploreList', 'ExploreDetail'].includes($route.name)" />
<router-view v-if="$route.path === '/login' || ['ExploreList', 'ExploreDetail', 'Trial'].includes($route.name)" />
<LayoutBasic v-else />
</ConfigProvider>
</template>

View File

@ -28,7 +28,7 @@ export async function initApp() {
const userStore = useUserStore();
const chatStore = useChatStore();
await chatStore.getAgentInfo(); // 初始化智能体信息
chatStore.getAgentInfo(); // 初始化智能体信息
await userStore.getUserInfo(); // 初始化用户信息
await getUserEnterpriseInfo(); // 初始化企业信息、navbar菜单、允许访问的路由
}