fix' 设备信息编辑时提示'请输入正确的数值'的bug
This commit is contained in:
parent
b54298fe09
commit
d0f113513c
@ -113,7 +113,7 @@ 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) }]
|
rules: [{ type: 'number', message: i18n.t('hints.number'), trigger: 'blur', transform: val => Number(val) }]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'groupId',
|
name: 'groupId',
|
||||||
|
Loading…
Reference in New Issue
Block a user