From 916e7dec096c8e93f931fa0b8919999dc089b65d Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Mon, 2 Sep 2024 18:45:49 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E6=89=AB=E7=A0=81=E7=99=BB=E5=BD=95=E6=A0=B7=E5=BC=8F=E6=9D=83?= =?UTF-8?q?=E9=99=90=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/business/login/dingTalkQrCode.vue | 4 ++-- .../frontend/src/business/login/index.vue | 2 +- .../frontend/src/business/login/larkQrCode.vue | 5 ++--- .../src/business/login/larkSuiteQrCode.vue | 5 ++--- .../frontend/src/business/login/tabQrCode.vue | 15 ++++++++------- .../frontend/src/business/login/weComQrCode.vue | 5 +++-- .../src/business/system/setting/QrCodeConfig.vue | 10 +++++----- 7 files changed, 23 insertions(+), 23 deletions(-) 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 @@