1
0

feat(ware): 为商品图标字段添加必填属性

在 dialog-ware.js 文件中,将 'icon' 字段的配置添加 required: true 属性,确保商品图标在录入时必须填写,提高数据完整性。
This commit is contained in:
2024-12-17 09:01:18 +08:00
parent 41032f74af
commit 94a3be2b58

View File

@@ -1,11 +1,5 @@
import './dialog-ware.css'
import {
apiGet,
apiPost,
formInputClearable,
horizontalFormOptions,
information,
} from "../constants.js";
import {apiGet, apiPost, formInputClearable, horizontalFormOptions, information,} from "../constants.js";
import {resourceList} from '../../pages/index/tab-data.js'
import {resourceDetailDialog} from '../resource/dialog-resource.js'
@@ -26,6 +20,7 @@ function detailForm() {
type: 'input-image',
name: 'icon',
label: '图标',
required: true,
},
{
type: 'picker',