路由的添加
This commit is contained in:
parent
5f8c87e77f
commit
8e499e5f71
@ -14,6 +14,10 @@ export default {
|
||||
addArticle: 'addArticle',
|
||||
editArticle: 'editArticle',
|
||||
log:'log',
|
||||
label:'label',
|
||||
// labelDetail:'labelDetail',
|
||||
// addLabel:'addLable',
|
||||
// editLabel:'editLabel',
|
||||
limits: 'limits',
|
||||
limitsFrontEnd: 'FrontEnd',
|
||||
limitsFrontEndPage: 'FrontEndPage',
|
||||
|
@ -14,6 +14,10 @@ export default {
|
||||
addArticle: '新增文章',
|
||||
editArticle: '编辑文章',
|
||||
log:'系统日志',
|
||||
label:'标签管理',
|
||||
// labelDetail:'标签详情',
|
||||
// addLabel:'添加标签',
|
||||
// editLabel:'编辑标签',
|
||||
limits: '权限管理',
|
||||
limitsFrontEnd: '前端控制',
|
||||
limitsFrontEndPage: '页面权限',
|
||||
|
@ -14,6 +14,10 @@ export default {
|
||||
addArticle: '文章新增',
|
||||
editArticle: '文章編輯',
|
||||
log:'系統日誌',
|
||||
label:'標籤管理',
|
||||
// labelDetail:'標籤詳情',
|
||||
// addLabel:'添加標籤',
|
||||
// editLabel:'編輯標籤',
|
||||
limits: '許可權管理',
|
||||
limitsFrontEnd: '前端控制',
|
||||
limitsFrontEndPage: '頁面許可權',
|
||||
|
@ -244,9 +244,57 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
|
||||
isAffix: false,
|
||||
isIframe: false,
|
||||
roles: ['admin', 'common'],
|
||||
icon: 'fa fa-wpforms',
|
||||
icon: 'iconfont icon-biaodan',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/label',
|
||||
name: 'label',
|
||||
component: () => import('/@/views/label/index.vue'),
|
||||
meta: {
|
||||
title: 'message.router.label',
|
||||
isLink: '',
|
||||
isHide: false,
|
||||
isKeepAlive: true,
|
||||
isAffix: false,
|
||||
isIframe: false,
|
||||
roles: ['admin', 'common'],
|
||||
icon: 'ele-CollectionTag',
|
||||
},
|
||||
// children: [
|
||||
|
||||
// {
|
||||
// path: '/label/add',
|
||||
// name: 'addLabel',
|
||||
// component: () => import('/@/views/label/component/upload.vue'),
|
||||
// meta: {
|
||||
// title: 'message.router.addLabel',
|
||||
// isLink: '',
|
||||
// isHide: true,
|
||||
// isKeepAlive: false,
|
||||
// isAffix: false,
|
||||
// isIframe: false,
|
||||
// roles: ['admin','common'],
|
||||
// icon: 'ele-Document',
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// path: '/label/edit',
|
||||
// name: 'editLabel',
|
||||
// component: () => import('/@/views/label/component/upload.vue'),
|
||||
// meta: {
|
||||
// title: 'message.router.editLabel',
|
||||
// isLink: '',
|
||||
// isHide: true,
|
||||
// isKeepAlive: false,
|
||||
// isAffix: false,
|
||||
// isIframe: false,
|
||||
// roles: ['admin','common'],
|
||||
// icon: 'ele-Document',
|
||||
// },
|
||||
// }
|
||||
// ]
|
||||
},
|
||||
{
|
||||
path: '/limits',
|
||||
name: 'limits',
|
||||
|
Loading…
Reference in New Issue
Block a user