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') }} - 更多登录方式 + 更多登录方式
.lark-qrName { - width: 300px; - height: 300px; + } diff --git a/framework/sdk-parent/frontend/src/business/login/larkSuiteQrCode.vue b/framework/sdk-parent/frontend/src/business/login/larkSuiteQrCode.vue index 14c9c42420..c37a01a513 100644 --- a/framework/sdk-parent/frontend/src/business/login/larkSuiteQrCode.vue +++ b/framework/sdk-parent/frontend/src/business/login/larkSuiteQrCode.vue @@ -24,7 +24,7 @@ export default{ goto: url, width: '300', height: '300', - style: 'width:300px;height:300px', // 可选的,二维码html标签的style属性 + style: 'width:300px;height:300px;border-width: 0px;', // 可选的,二维码html标签的style属性 }); // function handleMessage @@ -55,7 +55,6 @@ export default{ diff --git a/framework/sdk-parent/frontend/src/business/login/tabQrCode.vue b/framework/sdk-parent/frontend/src/business/login/tabQrCode.vue index 43a6ba5585..8741c0d151 100644 --- a/framework/sdk-parent/frontend/src/business/login/tabQrCode.vue +++ b/framework/sdk-parent/frontend/src/business/login/tabQrCode.vue @@ -1,5 +1,5 @@