From 2a55f8967e51c0765efcb88d7922d589fc91871d Mon Sep 17 00:00:00 2001 From: awenes <1121353141@qq.com> Date: Thu, 4 Apr 2024 22:48:19 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BC=98=E5=8C=96=E8=BA=AB=E4=BB=BD?= =?UTF-8?q?=E6=8F=90=E4=BE=9B=E5=95=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eiam-portal/src/main/portal-fe/src/constants/index.tsx | 2 +- .../portal-fe/src/pages/Login/components/QrCode/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eiam-portal/src/main/portal-fe/src/constants/index.tsx b/eiam-portal/src/main/portal-fe/src/constants/index.tsx index b0fdaab0..1234b94e 100644 --- a/eiam-portal/src/main/portal-fe/src/constants/index.tsx +++ b/eiam-portal/src/main/portal-fe/src/constants/index.tsx @@ -39,7 +39,7 @@ export enum IDP_TYPE { GITHUB_OAUTH = 'github_oauth', ALIPAY_OAUTH = 'alipay_oauth', WEIBO_OAUTH = 'weibo_oauth', - WECHATWORK_QR = 'wechatwork_qr', + WECHATWORK_QR = 'wechatwork_oauth', } export enum SESSION_STATUS { diff --git a/eiam-portal/src/main/portal-fe/src/pages/Login/components/QrCode/index.tsx b/eiam-portal/src/main/portal-fe/src/pages/Login/components/QrCode/index.tsx index f73fbc8f..2dea7f91 100644 --- a/eiam-portal/src/main/portal-fe/src/pages/Login/components/QrCode/index.tsx +++ b/eiam-portal/src/main/portal-fe/src/pages/Login/components/QrCode/index.tsx @@ -51,9 +51,9 @@ const Index = (props: { code: string; name: string; type: IDP_TYPE | string }) =
- {/*企业微信扫码*/} + {/*企业微信*/} {type === IDP_TYPE.WECHATWORK_QR && } - {/*钉钉扫码*/} + {/*钉钉认证*/} {type === IDP_TYPE.DINGTALK_QR && } {/*微信扫码*/} {type === IDP_TYPE.WECHAT_QR && }