Skip to content

Commit

Permalink
chore: 组件路由放置到演示路由下
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjue666 committed Aug 3, 2024
1 parent b3780c1 commit 3c24632
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 27 deletions.
6 changes: 3 additions & 3 deletions apps/web-antd/src/locales/langs/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
"lateralDetail": "Lateral Mode Detail",
"level": "Level Mode",
"levelDetail": "Level Mode Detail"
},
"comp": {
"title": "Component"
}
},
"comp": {
"title": "Component"
}
}
}
6 changes: 3 additions & 3 deletions apps/web-antd/src/locales/langs/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
"level": "层级模式",
"levelDetail": "层级模式详情",
"lateralDetail": "平级模式详情"
},
"comp": {
"title": "组件"
}
},
"comp": {
"title": "组件"
}
}
}
21 changes: 0 additions & 21 deletions apps/web-antd/src/router/routes/modules/comp.ts

This file was deleted.

10 changes: 10 additions & 0 deletions apps/web-antd/src/router/routes/modules/demos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,16 @@ const routes: RouteRecordRaw[] = [
},
],
},
// 组件
{
meta: {
icon: 'ion:layers-outline',
title: $t('page.demos.comp.title'),
},
name: 'CompDemos',
path: '/demos/comp',
children: [],
},
// 面包屑导航
{
name: 'BreadcrumbDemos',
Expand Down

0 comments on commit 3c24632

Please sign in to comment.