Skip to content

Commit

Permalink
fix(demo): 修复引导页文件名问题 (#3352)
Browse files Browse the repository at this point in the history
Co-authored-by: jackhoo_98 <jackhoo_98@foxmail.com>
  • Loading branch information
13982720426 and jackhoo_98 authored Nov 27, 2023
1 parent 8b516b7 commit be935eb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/locales/lang/en/routes/demo.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"backPage": "Page",
"backBtn": "Button"
},
"setup": {
"steps": {
"page": "Intro page"
},
"system": {
Expand Down
2 changes: 1 addition & 1 deletion src/locales/lang/zh-CN/routes/demo.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"backPage": "页面权限",
"backBtn": "按钮权限"
},
"setup": {
"steps": {
"page": "引导页"
},
"system": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@ import type { AppRouteModule } from '@/router/types';
import { LAYOUT } from '@/router/constant';
import { t } from '@/hooks/web/useI18n';

const setup: AppRouteModule = {
path: '/setup',
name: 'SetupDemo',
const steps: AppRouteModule = {
path: '/steps',
name: 'StepsDemo',
component: LAYOUT,
redirect: '/setup/index',
redirect: '/steps/index',
meta: {
orderNo: 90000,
hideChildrenInMenu: true,
icon: 'whh:paintroll',
title: t('routes.demo.setup.page'),
title: t('routes.demo.steps.page'),
},
children: [
{
path: 'index',
name: 'SetupDemoPage',
component: () => import('@/views/demo/setup/index.vue'),
name: 'StepsDemoPage',
component: () => import('@/views/demo/steps/index.vue'),
meta: {
title: t('routes.demo.setup.page'),
title: t('routes.demo.steps.page'),
icon: 'whh:paintroll',
hideMenu: true,
},
},
],
};

export default setup;
export default steps;
File renamed without changes.

0 comments on commit be935eb

Please sign in to comment.