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", "backPage": "Page",
"backBtn": "Button" "backBtn": "Button"
}, },
"setup": { "steps": {
"page": "Intro page" "page": "Intro page"
}, },
"system": { "system": {

View File

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

View File

@ -3,24 +3,24 @@ import type { AppRouteModule } from '@/router/types';
import { LAYOUT } from '@/router/constant'; import { LAYOUT } from '@/router/constant';
import { t } from '@/hooks/web/useI18n'; import { t } from '@/hooks/web/useI18n';
const setup: AppRouteModule = { const steps: AppRouteModule = {
path: '/setup', path: '/steps',
name: 'SetupDemo', name: 'StepsDemo',
component: LAYOUT, component: LAYOUT,
redirect: '/setup/index', redirect: '/steps/index',
meta: { meta: {
orderNo: 90000, orderNo: 90000,
hideChildrenInMenu: true, hideChildrenInMenu: true,
icon: 'whh:paintroll', icon: 'whh:paintroll',
title: t('routes.demo.setup.page'), title: t('routes.demo.steps.page'),
}, },
children: [ children: [
{ {
path: 'index', path: 'index',
name: 'SetupDemoPage', name: 'StepsDemoPage',
component: () => import('@/views/demo/setup/index.vue'), component: () => import('@/views/demo/steps/index.vue'),
meta: { meta: {
title: t('routes.demo.setup.page'), title: t('routes.demo.steps.page'),
icon: 'whh:paintroll', icon: 'whh:paintroll',
hideMenu: true, hideMenu: true,
}, },
@ -28,4 +28,4 @@ const setup: AppRouteModule = {
], ],
}; };
export default setup; export default steps;