feat: 权限逻辑处理

This commit is contained in:
xuziqiang
2024-06-14 11:49:51 +08:00
parent 08972bfbfb
commit da3d5840df
9 changed files with 201 additions and 111 deletions

View File

@@ -6,23 +6,22 @@ const home = {
redirect: { name: 'homeIndex' },
children: [
{
path: 'homeModule',
name: 'HomeModule',
path: 'index',
name: 'homeIndex',
meta: { title: '首页', hideChildren: true, icon: 'dicizhishou' },
component: Base,
component: () => import('/@/view/developing.vue'),
redirect: { name: 'homeIndex' },
children: [
{
path: 'index',
name: 'homeIndex',
component: () => import('/@/view/developing.vue'),
meta: {
title: '首页',
keepAlive: true,
// backApi: [],
},
},
],
// children: [
// {
// path: 'index',
// name: 'homeIndex',
// meta: {
// title: '首页',
// keepAlive: true,
// // backApi: [],
// },
// },
// ],
},
],
};