From e6c271dd81fb73b550650436f42cf06124feb0cb Mon Sep 17 00:00:00 2001
From: wxg0103 <727495428@qq.com>
Date: Fri, 25 Oct 2024 18:06:18 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E6=A0=B7?=
=?UTF-8?q?=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ui/src/views/authentication/component/EditModal.vue | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/ui/src/views/authentication/component/EditModal.vue b/ui/src/views/authentication/component/EditModal.vue
index 8e55d886f..122cffeb8 100644
--- a/ui/src/views/authentication/component/EditModal.vue
+++ b/ui/src/views/authentication/component/EditModal.vue
@@ -21,7 +21,12 @@ template
:prop="key"
:rules="getValidationRules(key)"
>
-
+
+
@@ -144,6 +149,10 @@ function validateConnection() {
})
}
+const passwordFields = new Set(['app_secret', 'client_secret', 'secret'])
+
+const isPasswordField = (key: any) => passwordFields.has(key)
+
function saveConfig() {
platformApi.updateConfig(currentPlatform, loading).then((res: any) => {
MsgSuccess('保存成功')