fix: 优化modbus新增点位地址校验规则
This commit is contained in:
parent
d81ef15ec1
commit
d933bb7869
|
@ -57,7 +57,7 @@
|
||||||
placeholder="请输入地址"
|
placeholder="请输入地址"
|
||||||
v-model:value="formData.pointKey"
|
v-model:value="formData.pointKey"
|
||||||
:min="0"
|
:min="0"
|
||||||
:max="255"
|
:max="999999999"
|
||||||
:precision="0"
|
:precision="0"
|
||||||
/>
|
/>
|
||||||
</j-form-item>
|
</j-form-item>
|
||||||
|
|
|
@ -55,7 +55,7 @@ export const ModBusRules = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
pattern: regOnlyNumber,
|
pattern: regOnlyNumber,
|
||||||
message: '请输入0-255之间的正整数',
|
message: '请输入0-999999999之间的正整数',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
quantity: [
|
quantity: [
|
||||||
|
|
Loading…
Reference in New Issue