fix(demo): 修复引导页文件名问题 (#3352)
Co-authored-by: jackhoo_98 <jackhoo_98@foxmail.com>
This commit is contained in:
parent
8b516b75b8
commit
be935eb44e
|
|
@ -142,7 +142,7 @@
|
||||||
"backPage": "Page",
|
"backPage": "Page",
|
||||||
"backBtn": "Button"
|
"backBtn": "Button"
|
||||||
},
|
},
|
||||||
"setup": {
|
"steps": {
|
||||||
"page": "Intro page"
|
"page": "Intro page"
|
||||||
},
|
},
|
||||||
"system": {
|
"system": {
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,7 @@
|
||||||
"backPage": "页面权限",
|
"backPage": "页面权限",
|
||||||
"backBtn": "按钮权限"
|
"backBtn": "按钮权限"
|
||||||
},
|
},
|
||||||
"setup": {
|
"steps": {
|
||||||
"page": "引导页"
|
"page": "引导页"
|
||||||
},
|
},
|
||||||
"system": {
|
"system": {
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
Loading…
Reference in New Issue