From 9140921d3b9363d8f20275539c6d968a1faa9464 Mon Sep 17 00:00:00 2001 From: Yuanjianghong Date: Fri, 20 Aug 2021 16:32:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=A4=A7=E5=B0=8F=E5=86=99?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/router.config.js | 6 +++--- src/router/generator-routers.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/config/router.config.js b/src/config/router.config.js index 6e96a91..2bdd8f5 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -69,7 +69,7 @@ export const asyncRouterMap = [ { path: '/form/base-form', name: 'BaseForm', - component: () => import('@/views/form/basicForm/Index'), + component: () => import('@/views/form/basicForm/index'), meta: { title: '基础表单', keepAlive: true, permission: [ 'form' ] } }, { @@ -154,7 +154,7 @@ export const asyncRouterMap = [ { path: '/profile/basic', name: 'ProfileBasic', - component: () => import('@/views/profile/basic/Index'), + component: () => import('@/views/profile/basic/index'), meta: { title: '基础详情页', permission: [ 'profile' ] } }, { @@ -226,7 +226,7 @@ export const asyncRouterMap = [ { path: '/account/center', name: 'center', - component: () => import('@/views/account/center/Index'), + component: () => import('@/views/account/center/index'), meta: { title: '个人中心', keepAlive: true, permission: [ 'user' ] } }, { diff --git a/src/router/generator-routers.js b/src/router/generator-routers.js index 4556aed..7c8958a 100644 --- a/src/router/generator-routers.js +++ b/src/router/generator-routers.js @@ -17,7 +17,7 @@ const constantRouterComponents = { // 你需要动态引入的页面组件 'Workplace': () => import('@/views/dashboard/Workplace'), // form - 'BasicForm': () => import('@/views/form/basicForm/Index'), + 'BasicForm': () => import('@/views/form/basicForm/index'), 'StepForm': () => import('@/views/form/stepForm/StepForm'), 'AdvanceForm': () => import('@/views/form/advancedForm/AdvancedForm'), @@ -29,7 +29,7 @@ const constantRouterComponents = { 'SearchArticles': () => import('@/views/list/search/Article'), 'SearchProjects': () => import('@/views/list/search/Projects'), 'SearchApplications': () => import('@/views/list/search/Applications'), - 'ProfileBasic': () => import('@/views/profile/basic/Index'), + 'ProfileBasic': () => import('@/views/profile/basic/index'), 'ProfileAdvanced': () => import('@/views/profile/advanced/Advanced'), // result @@ -42,7 +42,7 @@ const constantRouterComponents = { 'Exception500': () => import(/* webpackChunkName: "fail" */ '@/views/exception/500'), // account - 'AccountCenter': () => import('@/views/account/center/Index'), + 'AccountCenter': () => import('@/views/account/center/index'), 'AccountSettings': () => import('@/views/account/settings/Index'), 'BaseSettings': () => import('@/views/account/settings/BaseSetting'), 'SecuritySettings': () => import('@/views/account/settings/Security'),