fix: 优化modbus新增点位地址校验规则

This commit is contained in:
xieyonghong 2023-04-12 17:39:12 +08:00
parent d81ef15ec1
commit d933bb7869
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@
placeholder="请输入地址"
v-model:value="formData.pointKey"
:min="0"
:max="255"
:max="999999999"
:precision="0"
/>
</j-form-item>

View File

@ -55,7 +55,7 @@ export const ModBusRules = {
},
{
pattern: regOnlyNumber,
message: '请输入0-255之间的正整数',
message: '请输入0-999999999之间的正整数',
},
],
quantity: [