fix: [临时方案]修复因element-plus-x 1.3.98 中Conversations组件销毁问题出现的布局路由缺陷
This commit is contained in:
@@ -37,7 +37,7 @@ export const layoutRouter: RouteRecordRaw[] = [
|
||||
component: () => import('@/pages/products/index.vue'),
|
||||
meta: {
|
||||
title: '产品页面',
|
||||
keepAlive: true,
|
||||
keepAlive: 0,
|
||||
isDefaultChat: false,
|
||||
layout: 'blankPage',
|
||||
},
|
||||
@@ -49,7 +49,7 @@ export const layoutRouter: RouteRecordRaw[] = [
|
||||
component: () => import('@/pages/modelLibrary/index.vue'),
|
||||
meta: {
|
||||
title: '模型库',
|
||||
keepAlive: true,
|
||||
keepAlive: 0,
|
||||
isDefaultChat: false,
|
||||
layout: 'blankPage',
|
||||
},
|
||||
@@ -60,7 +60,7 @@ export const layoutRouter: RouteRecordRaw[] = [
|
||||
component: () => import('@/pages/payResult/index.vue'),
|
||||
meta: {
|
||||
title: '支付结果',
|
||||
keepAlive: true, // 如果需要缓存
|
||||
keepAlive: 0, // 如果需要缓存
|
||||
isDefaultChat: false, // 根据实际情况设置
|
||||
layout: 'blankPage', // 如果需要自定义布局
|
||||
},
|
||||
@@ -88,6 +88,7 @@ export const layoutRouter: RouteRecordRaw[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
];
|
||||
|
||||
// staticRouter[静态路由] 预留
|
||||
|
||||
Reference in New Issue
Block a user