Merge pull request #881 from dataease/pr@dev@fix_remove_oidc_cookie

fix: 及时删除oidc错误信息cookie
This commit is contained in:
fit2cloud-chenyw 2021-09-26 13:38:07 +08:00 committed by GitHub
commit de3f925d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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(() => {
})