Browse Source

fix(auth): 权限逻辑完成

tbphp 1 year ago
parent
commit
b36103e1f3

src/components/ad/manage.vue → src/components/ad/ad.vue


src/components/content/manage.vue → src/components/content/content.vue


src/components/job/com.vue → src/components/job/jcom.vue


src/components/job/doubt.vue → src/components/job/jdoubt.vue


+ 4 - 4
src/lib/router.js

@@ -63,13 +63,13 @@ rule('system/user', '用户')
 rule('system/member', '会员')
 rule('system/setting', '设置')
 rule('content', '内容')
-rule('content/manage', '内容管理')
+rule('content/content', '内容管理')
 rule('content/show', '影展')
 rule('content/event', '赛事')
 rule('content/watch', '专访')
 rule('ad', '广告位')
 rule('ad/banner', '首页头图')
-rule('ad/manage', '广告管理')
+rule('ad/ad', '广告管理')
 rule('site', '基础')
 rule('site/cate', '分类')
 rule('site/equipment', '摄影装备')
@@ -86,9 +86,9 @@ rule('sns', '社交')
 rule('sns/comment', '评论')
 rule('sns/msg', '留言')
 rule('job', '招聘')
-rule('job/com', '企业审核')
+rule('job/jcom', '企业审核')
 rule('job/jpay', '订单管理')
-rule('job/doubt', '常见问题')
+rule('job/jdoubt', '常见问题')
 
 let router = new Router(options)