This commit is contained in:
zhuoda
2020-04-08 20:15:01 +08:00
15 changed files with 615 additions and 837 deletions

View File

@@ -10,7 +10,7 @@ import config from '@/config';
const { homeName } = config;
Vue.use(Router);
Vue.use(Router);
const router = new Router({
// routes: routers,
routes: buildRouters(routers)
@@ -211,9 +211,6 @@ if (process.env.NODE_ENV === 'development') {
delete tempCheckObj.checkRouterPathMap;
}
delete tempCheckObj.checkRouterNameMap;
delete tempCheckObj.checkRouterPathMap;
const topMenuArray = routers.filter(e => e.meta.topMenu);
export { topMenuArray };

View File

@@ -48,6 +48,10 @@ export const systemSetting = [
title: '编辑',
name: 'privilege-main-update'
},
{
title: '批量保存功能点',
name: 'privilege-batch-save-points'
},
{
title: '查询',
name: 'privilege-main-search'