fix(配置分类): 表单移除图标字段并同步保存过滤

This commit is contained in:
吴昊天 2026-10-12 10:33:00 +08:00
parent 795b91e12d
commit 8402ea9863
2 changed files with 0 additions and 3 deletions

View File

@ -76,7 +76,6 @@ class SystemConfigTabController extends AuthController
'eng_title',
'status',
'title',
'icon',
['type', 0],
['sort', 0],
['pid', 0],
@ -123,7 +122,6 @@ class SystemConfigTabController extends AuthController
'title',
'status',
'eng_title',
'icon',
['type', 0],
['sort', 0],
['pid', 0],

View File

@ -138,7 +138,6 @@ class SystemConfigTabServices extends BaseService
$form[] = $this->builder->cascader('pid', '父级分类', $data1)->options($configTabList)->filterable(true)->props(['props' => ['multiple' => false, 'checkStrictly' => true, 'emitPath' => false]])->style(['width'=>'100%']);
$form[] = $this->builder->input('title', '分类名称', $formData['title'] ?? '');
$form[] = $this->builder->input('eng_title', '分类字段英文', $formData['eng_title'] ?? '');
$form[] = $this->builder->frameInput('icon', '图标', $this->url(config('app.admin_prefix', 'admin') . '/widget.widgets/icon', ['fodder' => 'icon'], true), $formData['icon'] ?? '')->icon('el-icon-picture-outline')->height('560px')->props(['footer' => false]);
$form[] = $this->builder->radio('type', '类型', $formData['type'] ?? 0)->options([
['value' => 0, 'label' => '系统'],
['value' => 3, 'label' => '其它']