提交 75fc0f1c authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

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

上级 001ce379
...@@ -138,6 +138,7 @@ export default { ...@@ -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 { ...@@ -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(() => {
}) })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论