diff --git a/framework/sdk-parent/frontend/src/business/login/dingTalkQrCode.vue b/framework/sdk-parent/frontend/src/business/login/dingTalkQrCode.vue
index 79be6b3be9..f4491626e3 100644
--- a/framework/sdk-parent/frontend/src/business/login/dingTalkQrCode.vue
+++ b/framework/sdk-parent/frontend/src/business/login/dingTalkQrCode.vue
@@ -48,10 +48,10 @@ export default {
userStore.getIsLogin()
.then(res => {
this.getLanguage(res.data.language);
- window.location.href = "/";
sessionStorage.setItem('loginSuccess', 'true');
sessionStorage.setItem('changePassword', callback.message);
localStorage.setItem('AuthenticateType', 'QRCODE');
+ this.checkRedirectUrl()
})
.catch(data => {
// 保存公钥
@@ -60,7 +60,7 @@ export default {
if (lang) {
setLanguage(lang);
}
- this.checkRedirectUrl()
+ window.location.href = "/";
});
},
getLanguage(language) {
diff --git a/framework/sdk-parent/frontend/src/business/login/index.vue b/framework/sdk-parent/frontend/src/business/login/index.vue
index 7cead710f1..de1d744943 100644
--- a/framework/sdk-parent/frontend/src/business/login/index.vue
+++ b/framework/sdk-parent/frontend/src/business/login/index.vue
@@ -49,7 +49,7 @@
{{ $t('commons.login') }}
-