Skip to content

Commit

Permalink
fix: 解决隐藏menu的路由面包屑展示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hesetiema committed May 7, 2024
1 parent 8f39df8 commit df5d81a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,19 @@ const routes: RouteRecordRaw[] = [
{
path: 'base-form',
name: 'base-form',
component: () => import('@/views/admin/FormBase.vue'),
meta: {
title: '普通表单'
},
redirect: '/admin/base-form/index',
children: [
{
path: 'text-ellipse',
name: 'text-ellipse',
path: 'index',
name: 'index',
component: () => import('@/views/admin/FormBase.vue')
},
{
path: 'text-ellipsis',
name: 'text-ellipsis',
component: () => import('@/views/admin/TableBase.vue'),
meta: {
title: '文本省略'
Expand Down

0 comments on commit df5d81a

Please sign in to comment.