未验证 提交 43115e55 编写于 作者: 花裤衩 提交者: GitHub

perf: optimize page view name (#1835)

上级 184125bd
...@@ -19,7 +19,7 @@ export const constantRoutes = [ ...@@ -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
}, },
{ {
......
...@@ -57,7 +57,7 @@ export const constantRoutes = [ ...@@ -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
}, },
{ {
......
<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) {
......
...@@ -77,7 +77,7 @@ ...@@ -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',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册