feat(ware): 为商品图标字段添加必填属性
在 dialog-ware.js 文件中,将 'icon' 字段的配置添加 required: true 属性,确保商品图标在录入时必须填写,提高数据完整性。
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user