Commit 82acaee7d9defd3c7e93438f3010ad6d3f6886e6

Authored by ww
1 parent 6a646de1

fix: 修复设备地址码取值范围提示

@@ -129,7 +129,7 @@ export const step1Schemas: FormSchema[] = [ @@ -129,7 +129,7 @@ export const step1Schemas: FormSchema[] = [
129 maxLength: 255, 129 maxLength: 255,
130 placeholder: '请输入设备标识或设备地址码', 130 placeholder: '请输入设备标识或设备地址码',
131 }, 131 },
132 - helpMessage: ['标准Modbus地址码值为16进制1-255值', '其他协议自定义'], 132 + helpMessage: ['标准Modbus地址码值为16进制1-247值', '其他协议自定义'],
133 ifShow: ({ values }) => 133 ifShow: ({ values }) =>
134 values?.transportType === TransportTypeEnum.TCP && 134 values?.transportType === TransportTypeEnum.TCP &&
135 (values.deviceType === DeviceTypeEnum.SENSOR || values.deviceType === DeviceTypeEnum.GATEWAY), 135 (values.deviceType === DeviceTypeEnum.SENSOR || values.deviceType === DeviceTypeEnum.GATEWAY),