修复切换<视频智能分析>与<蚕茧仪评分析>Tab页后其他页面无法正常加载的问题

This commit is contained in:
BBIT-Kai
2025-08-22 09:57:27 +08:00
parent cdce90bb27
commit 10ca219970
7 changed files with 335 additions and 229 deletions
@@ -22,7 +22,7 @@ const routes: RouteRecordRaw[] = [
authority: ['iva'],
icon: 'mdi:video',
title: $t('ai.intelligence_video_analysis'),
keepAlive: false,
keepAlive: true,
},
component: () => import('#/views/ai/iva/index.vue'),
},
@@ -33,6 +33,7 @@ const routes: RouteRecordRaw[] = [
authority: ['sca'],
icon: 'mdi:ice-cream',
title: $t('ai.silkworm_cocoon_analysis'),
keepAlive: false,
},
component: () => import('#/views/ai/sca/index.vue'),
},
@@ -43,6 +44,7 @@ const routes: RouteRecordRaw[] = [
authority: ['ysa'],
icon: 'mdi:account-key-outline',
title: $t('ai.young_silkworm_analysis'),
keepAlive: false,
},
component: () => import('#/views/ai/ysa/index.vue'),
},
@@ -53,7 +55,7 @@ const routes: RouteRecordRaw[] = [
meta: {
icon: 'mdi:wall-fire',
iframeSrc: 'http://171.212.101.199:13010/',
keepAlive: true,
keepAlive: false,
title: '检索增强生成',
},
},