mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 11:24:17 +00:00
fix: 修复ldap同步interval必填
This commit is contained in:
committed by
Jiangjie.Bai
parent
5577051416
commit
2c8d8c6e66
@@ -45,7 +45,7 @@ import Dialog from '@/components/Dialog'
|
||||
import Select2 from '@/components/FormFields/Select2'
|
||||
import { importLdapUser, refreshLdapUserCache, startLdapUserCache } from '@/api/settings'
|
||||
import { CronTab } from '@/components'
|
||||
import { Required } from '@/components/DataForm/rules'
|
||||
import rules, { Required } from '@/components/DataForm/rules'
|
||||
|
||||
export default {
|
||||
name: 'ImportDialog',
|
||||
@@ -135,6 +135,7 @@ export default {
|
||||
helpText: this.$t('xpack.HelpText.CrontabOfCreateUpdatePage')
|
||||
},
|
||||
AUTH_LDAP_SYNC_INTERVAL: {
|
||||
rules: [rules.Required],
|
||||
helpText: this.$t('xpack.HelpText.IntervalOfCreateUpdatePage')
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user