fix' 设备信息编辑时提示'请输入正确的数值'的bug

This commit is contained in:
g7hoo 2022-10-08 14:42:16 +08:00
parent b54298fe09
commit d0f113513c

View File

@ -113,7 +113,7 @@ const addOrUpdateConfigs = {
{
name: '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',