From 22cf23e593a7a5a92c6a1f61a375a69a13270856 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Thu, 7 Nov 2024 15:48:03 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E6=96=87?= =?UTF-8?q?=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 7bf7df5e27ad0c497226408b8206e5c775a86c64) --- ui/src/views/authentication/component/EditModal.vue | 2 +- ui/src/views/authentication/component/SCAN.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/src/views/authentication/component/EditModal.vue b/ui/src/views/authentication/component/EditModal.vue index 415c90ad6..8ea3afaa1 100644 --- a/ui/src/views/authentication/component/EditModal.vue +++ b/ui/src/views/authentication/component/EditModal.vue @@ -80,7 +80,7 @@ const currentPlatform = reactive({ const formatFieldName = (key?: any): string => { const fieldNames: { [key: string]: string } = { corp_id: 'Corp ID', - app_key: 'APP Key', + app_key: currentPlatform?.key != 'lark' ? 'APP Key' : 'App ID', app_secret: 'APP Secret', agent_id: 'Agent ID', callback_url: '回调地址' diff --git a/ui/src/views/authentication/component/SCAN.vue b/ui/src/views/authentication/component/SCAN.vue index 29e3fc82e..d0ccead29 100644 --- a/ui/src/views/authentication/component/SCAN.vue +++ b/ui/src/views/authentication/component/SCAN.vue @@ -28,7 +28,7 @@
- {{ formatFieldName(key) }} + {{ formatFieldName(key, item) }}