diff --git a/src/api/project/project.js b/src/api/project/project.js index e918faa..380a968 100644 --- a/src/api/project/project.js +++ b/src/api/project/project.js @@ -42,9 +42,6 @@ export function getProjectList (params) { url: projectApi.list, method: 'get', data: params, - headers: { - 'Authorization':'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjdhYTViMGZiLTkyOWQtNDhhZS04ODU1LWJkNzM5MjdlOTNiZCJ9.CZzowaB-w2krGpNttPZBNLfq1mw775Lh-sx1K8onfgSwNzA6bw-P7CqC4vgH29xjDv3ey4zEFDzV9pHnrAGrDA' - } //Authorization: "eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjdhYTViMGZiLTkyOWQtNDhhZS04ODU1LWJkNzM5MjdlOTNiZCJ9.CZzowaB-w2krGpNttPZBNLfq1mw775Lh-sx1K8onfgSwNzA6bw-P7CqC4vgH29xjDv3ey4zEFDzV9pHnrAGrDA" }) } diff --git a/src/config/router.config.js b/src/config/router.config.js index 2bdd8f5..6e96a91 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 7c8958a..4556aed 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'),