From 43115e5538533ca82ebc9044931127dce729f9b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E8=A3=A4=E8=A1=A9?= Date: Thu, 4 Apr 2019 12:58:37 +0800 Subject: [PATCH] perf: optimize page view name (#1835) --- mock/role/routes.js | 2 +- src/router/index.js | 2 +- src/views/login/{authredirect.vue => authRedirect.vue} | 2 +- src/views/login/index.vue | 2 +- src/views/login/{socialsignin.vue => socialSignin.vue} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename src/views/login/{authredirect.vue => authRedirect.vue} (92%) rename src/views/login/{socialsignin.vue => socialSignin.vue} (100%) diff --git a/mock/role/routes.js b/mock/role/routes.js index d8eaf42a..14413d48 100644 --- a/mock/role/routes.js +++ b/mock/role/routes.js @@ -19,7 +19,7 @@ export const constantRoutes = [ }, { path: '/auth-redirect', - component: 'views/login/authredirect', + component: 'views/login/authRedirect', hidden: true }, { diff --git a/src/router/index.js b/src/router/index.js index a883d398..22dad190 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -57,7 +57,7 @@ export const constantRoutes = [ }, { path: '/auth-redirect', - component: () => import('@/views/login/authredirect'), + component: () => import('@/views/login/authRedirect'), hidden: true }, { diff --git a/src/views/login/authredirect.vue b/src/views/login/authRedirect.vue similarity index 92% rename from src/views/login/authredirect.vue rename to src/views/login/authRedirect.vue index 69e15397..7df89342 100644 --- a/src/views/login/authredirect.vue +++ b/src/views/login/authRedirect.vue @@ -1,6 +1,6 @@