From 0e817e1e06c37477b246a266ce0d4d6cb478d10a Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Sat, 8 Feb 2025 17:17:14 +0800 Subject: [PATCH] fix: Prompt message error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1052066 --user=王孝刚 [系统设置] LDAP环境测试连接失败 https://www.tapd.cn/57709429/s/1651802 --- ui/src/views/authentication/component/LDAP.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ui/src/views/authentication/component/LDAP.vue b/ui/src/views/authentication/component/LDAP.vue index 2f8c94437..3b58a8a46 100644 --- a/ui/src/views/authentication/component/LDAP.vue +++ b/ui/src/views/authentication/component/LDAP.vue @@ -27,10 +27,7 @@ :placeholder="$t('views.system.authentication.ldap.bindDNPlaceholder')" /> - + { if (valid) { if (test) { authApi.postAuthSetting(form.value, loading).then((res) => { - MsgSuccess(t('views.system.testFailed')) + MsgSuccess(t('views.system.testSuccess')) }) } else { authApi.putAuthSetting(form.value.auth_type, form.value, loading).then((res) => {