mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-21 21:48:42 +00:00
fix(super_manage): type of submission_frequency_limit
This commit is contained in:
parent
c35dd3f3fb
commit
1c2ac53a62
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user