perf: optimize page view name (#1835)

This commit is contained in:
花裤衩 2019-04-04 12:58:37 +08:00 committed by GitHub
parent 184125bdd3
commit 43115e5538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ export const constantRoutes = [
}, },
{ {
path: '/auth-redirect', path: '/auth-redirect',
component: 'views/login/authredirect', component: 'views/login/authRedirect',
hidden: true hidden: true
}, },
{ {

View File

@ -57,7 +57,7 @@ export const constantRoutes = [
}, },
{ {
path: '/auth-redirect', path: '/auth-redirect',
component: () => import('@/views/login/authredirect'), component: () => import('@/views/login/authRedirect'),
hidden: true hidden: true
}, },
{ {

View File

@ -1,6 +1,6 @@
<script> <script>
export default { export default {
name: 'Authredirect', name: 'AuthRedirect',
created() { created() {
const hash = window.location.search.slice(1) const hash = window.location.search.slice(1)
if (window.localStorage) { if (window.localStorage) {

View File

@ -77,7 +77,7 @@
<script> <script>
import { validUsername } from '@/utils/validate' import { validUsername } from '@/utils/validate'
import LangSelect from '@/components/LangSelect' import LangSelect from '@/components/LangSelect'
import SocialSign from './socialsignin' import SocialSign from './socialSignin'
export default { export default {
name: 'Login', name: 'Login',