fix: robot
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
zzc
2026-07-05 18:51:19 +08:00
parent 28fff91b57
commit 254d2601bf

View File

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