From 1c2ac53a624dab3500e772d70f429f682a4d565a Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Tue, 14 Feb 2023 14:19:16 +0800 Subject: [PATCH] fix(super_manage): type of submission_frequency_limit --- web/app/controllers/super_manage.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/app/controllers/super_manage.php b/web/app/controllers/super_manage.php index a73f751..f4a7d2e 100644 --- a/web/app/controllers/super_manage.php +++ b/web/app/controllers/super_manage.php @@ -1088,8 +1088,13 @@ if ($cur_tab == 'index') { 'default_value' => $submission_frequency['interval'], ]); $submission_frequency_form->addInput('submission_frequency_limit', [ + 'type' => 'number', 'label' => '最大提交次数', 'help' => '在时间间隔内最多允许提交的次数。', + 'input_attrs' => [ + 'min' => '0', + 'step' => '1', + ], 'default_value' => $submission_frequency['limit'], 'validator_php' => function ($x, &$vdata) { if (!validateUInt($x)) {