| | |
| | | import groupManage from '../views/userManage/groupManage.vue'; // 用户管理模块 |
| | | import authorityManage from '@/views/userManage/authorityManage.vue'; //用户管理-权限管理 |
| | | import resourceManage from '@/views/userManage/resourceManage.vue'; //用户管理-资源管理 |
| | | import userRoleAuthorization from '@/views/AuthorizationManagement/userRoleAuthorization.vue'; //系统管理- |
| | | const originalPush = VueRouter.prototype.push |
| | | |
| | | VueRouter.prototype.push = function push(location) { |
| | | |
| | | return originalPush.call(this, location).catch(err => err) |
| | | |
| | | } |
| | | |
| | | // 群组管理 |
| | | Vue.use(VueRouter); |
| | | |
| | |
| | | requireAuth: true, // 标识该路由是否需要登录 |
| | | }, |
| | | }, |
| | | { |
| | | path: '/userRoleAuthorization', |
| | | component: userRoleAuthorization, |
| | | name: 'userRoleAuthorization', |
| | | meta: { |
| | | title: '用户角色授权', |
| | | requireAuth: true, // 标识该路由是否需要登录 |
| | | }, |
| | | }, |
| | | |
| | | ], |
| | | }, |