update 设备信息

This commit is contained in:
g7hoo 2022-10-08 08:55:17 +08:00
parent 86d3f63178
commit 9c13434c48

View File

@ -101,7 +101,7 @@ const addOrUpdateConfigs = {
required: true, required: true,
type: 'select', type: 'select',
options: [], options: [],
relatedField: 'sectionId', // idlineIdsectionId relatedField: 'sectionId' // idlineIdsectionId
}, },
{ {
name: 'sectionId', name: 'sectionId',
@ -112,7 +112,8 @@ const addOrUpdateConfigs = {
}, },
{ {
name: 'sort', name: 'sort',
label: i18n.t('ws.sort') label: i18n.t('ws.sort'),
rules: [{ type: 'number', message: i18n.t('hints.number'), transform: val => Number(val) }]
}, },
{ {
name: 'groupId', name: 'groupId',