fix: 及时删除oidc错误信息cookie

This commit is contained in:
fit2cloud-chenyw 2021-09-26 13:37:02 +08:00
parent 001ce37969
commit 75fc0f1cf0

View File

@ -138,6 +138,7 @@ export default {
}
},
handleLogin() {
Cookies.remove('OidcError')
this.$refs.loginForm.validate(valid => {
if (valid) {
this.loading = true
@ -160,6 +161,7 @@ export default {
},
changeLoginType(val) {
if (val !== 2) return
Cookies.remove('OidcError')
this.$nextTick(() => {
})