fix(demo): 修复引导页文件名问题 (#3352)

Co-authored-by: jackhoo_98 <jackhoo_98@foxmail.com>
This commit is contained in:
jackhoo(胡彪) 2023-11-27 17:59:31 +08:00 committed by GitHub
parent 8b516b75b8
commit be935eb44e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 11 deletions

View File

@ -142,7 +142,7 @@
"backPage": "Page",
"backBtn": "Button"
},
"setup": {
"steps": {
"page": "Intro page"
},
"system": {

View File

@ -141,7 +141,7 @@
"backPage": "页面权限",
"backBtn": "按钮权限"
},
"setup": {
"steps": {
"page": "引导页"
},
"system": {

View File

@ -3,24 +3,24 @@ 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,
},
@ -28,4 +28,4 @@ const setup: AppRouteModule = {
],
};
export default setup;
export default steps;