Skip to content

Commit

Permalink
fix(router): 🐛 datainfo page Display Error
Browse files Browse the repository at this point in the history
  • Loading branch information
jsxiaosi committed Feb 5, 2023
1 parent 7925de9 commit 624dc0d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/router/modules/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ const defaultRoute: RouteList[] = [
path: '/power',
id: 'Power',
redirect: '/power/use_list',
alwaysShow: true,
meta: { label: '系统管理', icon: <UserSwitchOutlined /> },
children: [
{
Expand All @@ -69,10 +68,16 @@ const defaultRoute: RouteList[] = [
{
path: '/details-page',
id: 'DetailsPage',
redirect: '/details-page/index',
alwaysShow: false,
element: <DetailsPage />,
meta: { label: '详情页', icon: <DatabaseOutlined />, whiteList: true },
meta: { label: '详情页', whiteList: true },
children: [
{
path: 'index',
id: 'INDEX',
element: <DetailsPage />,
meta: { label: '详情页', icon: <DatabaseOutlined /> },
},
{
path: 'details-info',
id: 'DetailsInfo',
Expand Down

0 comments on commit 624dc0d

Please sign in to comment.