mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
fix: 定时执行控制定期执行显示隐藏
This commit is contained in:
@@ -183,21 +183,13 @@ function getFields() {
|
||||
type: 'switch'
|
||||
}
|
||||
|
||||
// const crontab = {
|
||||
// label: i18n.t('xpack.RegularlyPerform'),
|
||||
// hidden: (formValue) => {
|
||||
// return formValue.is_periodic === false
|
||||
// },
|
||||
// helpText: i18n.t('xpack.HelpText.CrontabOfCreateUpdatePage')
|
||||
// }
|
||||
|
||||
const crontab = {
|
||||
type: 'cronTab',
|
||||
component: CronTab,
|
||||
rules: [
|
||||
{ required: false }
|
||||
],
|
||||
label: i18n.t('xpack.RegularlyPerform'),
|
||||
hidden: (formValue) => {
|
||||
return formValue.is_periodic === false
|
||||
},
|
||||
helpText: i18n.t('xpack.HelpText.CrontabOfCreateUpdatePage')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user