fix:修复keep-alive失效问题,并添加keep-alive测试页面

This commit is contained in:
zhangchuanlong
2022-03-04 16:44:33 +08:00
parent 402c7db7ba
commit 8bcbcac531
5 changed files with 51 additions and 18 deletions

View File

@@ -104,6 +104,15 @@ export const basicRoutes = [
title: '测试Dialog',
},
},
{
name: 'TEST-KEEP-ALIVE',
path: 'keep-alive',
component: () => import('@/views/test-page/TestKeepAlive.vue'),
meta: {
title: '测试Keep-Alive',
keepAlive: true,
},
},
],
},