详解vue三级目录页面缓存
最近公司需要完成三级目录缓存,记录下遇到的坑。路由由后端动态提供的,二级目录的路由配置如下
{
path: '/guide',
component: Layout,
redirect: '/guide/index',
children: [
{
path: 'index',
component: () => import('@/views/guide/index'),
name: 'Guide',
原创
2021-09-29 11:08:43 ·
2585 阅读 ·
0 评论