From dc0bb5d557fb1d7732ffb02cb232596ad203d2eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C=E6=80=80=E7=A3=8A=E2=80=9D?= <2280131253@qq.com> Date: Wed, 27 Oct 2021 19:04:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=9A=E6=97=B6=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=AE=9A=E6=9C=9F=E6=89=A7=E8=A1=8C=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/accounts/ChangeAuthPlan/fields.js | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/views/accounts/ChangeAuthPlan/fields.js b/src/views/accounts/ChangeAuthPlan/fields.js index d00a5cfee..549900d7b 100644 --- a/src/views/accounts/ChangeAuthPlan/fields.js +++ b/src/views/accounts/ChangeAuthPlan/fields.js @@ -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') }