diff --git a/src/locales/lang/en/routes/demo.json b/src/locales/lang/en/routes/demo.json index 3dbabec3c8f..7e71f9eed16 100644 --- a/src/locales/lang/en/routes/demo.json +++ b/src/locales/lang/en/routes/demo.json @@ -142,7 +142,7 @@ "backPage": "Page", "backBtn": "Button" }, - "setup": { + "steps": { "page": "Intro page" }, "system": { diff --git a/src/locales/lang/zh-CN/routes/demo.json b/src/locales/lang/zh-CN/routes/demo.json index d71252762f3..aec43785eb6 100644 --- a/src/locales/lang/zh-CN/routes/demo.json +++ b/src/locales/lang/zh-CN/routes/demo.json @@ -141,7 +141,7 @@ "backPage": "页面权限", "backBtn": "按钮权限" }, - "setup": { + "steps": { "page": "引导页" }, "system": { diff --git a/src/router/routes/modules/demo/setup.ts b/src/router/routes/modules/demo/steps.ts similarity index 56% rename from src/router/routes/modules/demo/setup.ts rename to src/router/routes/modules/demo/steps.ts index c29418442b7..69287c38772 100644 --- a/src/router/routes/modules/demo/setup.ts +++ b/src/router/routes/modules/demo/steps.ts @@ -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; diff --git a/src/views/demo/setup/index.vue b/src/views/demo/steps/index.vue similarity index 100% rename from src/views/demo/setup/index.vue rename to src/views/demo/steps/index.vue