forked from github/dataease
Merge pull request #881 from dataease/pr@dev@fix_remove_oidc_cookie
fix: 及时删除oidc错误信息cookie
This commit is contained in:
commit
de3f925d15
@ -138,6 +138,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleLogin() {
|
handleLogin() {
|
||||||
|
Cookies.remove('OidcError')
|
||||||
this.$refs.loginForm.validate(valid => {
|
this.$refs.loginForm.validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
@ -160,6 +161,7 @@ export default {
|
|||||||
},
|
},
|
||||||
changeLoginType(val) {
|
changeLoginType(val) {
|
||||||
if (val !== 2) return
|
if (val !== 2) return
|
||||||
|
Cookies.remove('OidcError')
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user