update:重新渲染system页面
This commit is contained in:
12
catch/system/tables/forms/Factory.php
Normal file
12
catch/system/tables/forms/Factory.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
namespace catchAdmin\system\tables\forms;
|
||||
|
||||
use catcher\library\form\FormFactory;
|
||||
|
||||
class Factory extends FormFactory
|
||||
{
|
||||
public static function from(): string
|
||||
{
|
||||
return __NAMESPACE__;
|
||||
}
|
||||
}
|
15
catch/system/tables/forms/SensitiveWord.php
Normal file
15
catch/system/tables/forms/SensitiveWord.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
namespace catchAdmin\system\tables\forms;
|
||||
|
||||
use catchAdmin\permissions\model\Department as DepartmentModel;
|
||||
use catcher\library\form\Form;
|
||||
|
||||
class SensitiveWord extends Form
|
||||
{
|
||||
public function fields(): array
|
||||
{
|
||||
return [
|
||||
Form::input('word', '敏感词')->required()->placeholder('请输入敏感词'),
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user