feat: 修改点击登录逻辑
This commit is contained in:
@@ -517,8 +517,7 @@
|
|||||||
this.imgUrl = `/api/oauth/ImageCode/${this.codeLength || 4}/${timestamp}`
|
this.imgUrl = `/api/oauth/ImageCode/${this.codeLength || 4}/${timestamp}`
|
||||||
},
|
},
|
||||||
login() {
|
login() {
|
||||||
if(this.ssoOptions.socialLogin){
|
this.$refs.dataForm.validate(valid => {
|
||||||
this.$refs.dataForm.validate(valid => {
|
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const password = md5Libs.md5(this.formData.password);
|
const password = md5Libs.md5(this.formData.password);
|
||||||
@@ -526,9 +525,7 @@
|
|||||||
this.getLogin('click')
|
this.getLogin('click')
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return
|
// this.certifyLogin()
|
||||||
}
|
|
||||||
this.certifyLogin()
|
|
||||||
},
|
},
|
||||||
// 普通登录
|
// 普通登录
|
||||||
getLogin(type){
|
getLogin(type){
|
||||||
|
|||||||
Reference in New Issue
Block a user