mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 10:33:50 +08:00
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",
|
||||
"backBtn": "Button"
|
||||
},
|
||||
"setup": {
|
||||
"steps": {
|
||||
"page": "Intro page"
|
||||
},
|
||||
"system": {
|
||||
|
@ -141,7 +141,7 @@
|
||||
"backPage": "页面权限",
|
||||
"backBtn": "按钮权限"
|
||||
},
|
||||
"setup": {
|
||||
"steps": {
|
||||
"page": "引导页"
|
||||
},
|
||||
"system": {
|
||||
|
@ -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;
|
Loading…
Reference in New Issue
Block a user