From 2bb4ca3ec0586555247f5304a9b317be05deaeae Mon Sep 17 00:00:00 2001 From: "Jiangjie.Bai" Date: Tue, 15 Feb 2022 17:54:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9LDAP=20SYNC=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E5=8F=82=E6=95=B0=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/settings/Ldap/ImportDialog.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/settings/Ldap/ImportDialog.vue b/src/views/settings/Ldap/ImportDialog.vue index c8bc92068..cf474fe5d 100644 --- a/src/views/settings/Ldap/ImportDialog.vue +++ b/src/views/settings/Ldap/ImportDialog.vue @@ -105,11 +105,17 @@ export default { settings: { visible: false, url: '/api/v1/settings/setting/?category=ldap', - fields: ['AUTH_LDAP_SYNC_IS_PERIODIC', 'AUTH_LDAP_SYNC_INTERVAL', 'AUTH_LDAP_SYNC_CRONTAB'], + fields: ['AUTH_LDAP_SYNC_IS_PERIODIC', 'AUTH_LDAP_SYNC_CRONTAB', 'AUTH_LDAP_SYNC_INTERVAL'], fieldsMeta: { + AUTH_LDAP_SYNC_IS_PERIODIC: { + type: 'switch' + }, AUTH_LDAP_SYNC_CRONTAB: { component: CronTab, helpText: this.$t('xpack.HelpText.CrontabOfCreateUpdatePage') + }, + AUTH_LDAP_SYNC_INTERVAL: { + helpText: this.$t('xpack.HelpText.IntervalOfCreateUpdatePage') } }, submitMethod: () => 'patch'