Commit 5f126974 by Mr. Lan

fix: 修复登陆bug。

parent 1a5854df
......@@ -53,8 +53,7 @@ export const constantRoutes = [
{
path: '/login',
component: () => import('@/views/login/index'),
hidden: true,
meta: { noCache: true }
hidden: true
},
{
path: '/auth-redirect',
......
......@@ -220,7 +220,9 @@ export default {
handleLogin() {
this.$refs.loginForm.validate(valid => {
if (valid) {
if (!this.loginTypeStatus) {
if (this.loginTypeStatus) {
this.loginForm.loginType = 1
} else {
this.loginForm.loginType = 0
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment