This commit is contained in:
@@ -57,39 +57,53 @@ export const asyncRoutes = [
|
||||
children: [
|
||||
{
|
||||
path: 'topic',
|
||||
name: 'RatingTopicIndex',
|
||||
component: () => import('@/views/rating/topic/index'),
|
||||
meta: { title: '评分话题' },
|
||||
component: EmptyLayout,
|
||||
alwaysShow: true,
|
||||
redirect: 'noRedirect',
|
||||
name: 'TopicIndex',
|
||||
meta: {
|
||||
title: '评分话题',
|
||||
icon: 'clover',
|
||||
permissions: ['admin'],
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'topic-recommend',
|
||||
path: 'recommend',
|
||||
name: 'RatingTopicRecommendIndex',
|
||||
component: () => import('@/views/rating/topicRecommend/index'),
|
||||
meta: { title: '话题推荐' },
|
||||
},
|
||||
{
|
||||
path: 'topic-item',
|
||||
path: 'category',
|
||||
name: 'RatingTopicCategoryIndex',
|
||||
component: () => import('@/views/rating/topicCategory/index'),
|
||||
meta: { title: '评分话题分类' },
|
||||
},
|
||||
{
|
||||
path: 'list',
|
||||
name: 'RatingTopicIndex',
|
||||
component: () => import('@/views/rating/topic/index'),
|
||||
meta: { title: '评分话题' },
|
||||
},
|
||||
{
|
||||
path: 'item',
|
||||
name: 'RatingTopicItemIndex',
|
||||
component: () => import('@/views/rating/topicItem/index'),
|
||||
meta: { title: '评分项' },
|
||||
},
|
||||
{
|
||||
path: 'topic-record',
|
||||
path: 'record',
|
||||
name: 'RatingTopicRecordIndex',
|
||||
component: () => import('@/views/rating/topicScoreRecord/index'),
|
||||
meta: { title: '用户评分记录' },
|
||||
},
|
||||
{
|
||||
path: 'topic-comment',
|
||||
path: 'comment',
|
||||
name: 'RatingTopicCommentIndex',
|
||||
component: () => import('@/views/rating/topicCommentRecord/index'),
|
||||
meta: { title: '用户评论记录' },
|
||||
},
|
||||
{
|
||||
path: 'topic-category',
|
||||
name: 'RatingTopicCategoryIndex',
|
||||
component: () => import('@/views/rating/topicCategory/index'),
|
||||
meta: { title: '评分话题分类' },
|
||||
],
|
||||
},
|
||||
{
|
||||
path: 'pk',
|
||||
|
||||
Reference in New Issue
Block a user