update:重新渲染system页面

This commit is contained in:
JaguarJack
2021-04-03 12:50:21 +08:00
parent 6ba18dfad2
commit b79b226a74
7 changed files with 210 additions and 1 deletions

View 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__;
}
}

View 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('请输入敏感词'),
];
}
}