Commit cfe71af3f31860b5db384754dc4680908250a808
Merge branch 'perf/create-device-deviceCode-field-add-tooltip' into 'main_dev'
perf: 创建设备时deviceCode字段新增tooltip提示 See merge request yunteng/thingskit-front!750
Showing
2 changed files
with
3 additions
and
2 deletions
... | ... | @@ -113,7 +113,7 @@ export const step1Schemas: FormSchema[] = [ |
113 | 113 | }, |
114 | 114 | { |
115 | 115 | field: 'code', |
116 | - label: '设备标识', | |
116 | + label: '设备标识/地址码', | |
117 | 117 | dynamicRules({ values }) { |
118 | 118 | return [ |
119 | 119 | { |
... | ... | @@ -129,6 +129,7 @@ export const step1Schemas: FormSchema[] = [ |
129 | 129 | maxLength: 255, |
130 | 130 | placeholder: '请输入设备标识或设备地址码', |
131 | 131 | }, |
132 | + helpMessage: ['标准Modbus地址码值为16进制1-255值', '其他协议自定义'], | |
132 | 133 | ifShow: ({ values }) => |
133 | 134 | values?.transportType === TransportTypeEnum.TCP && |
134 | 135 | (values.deviceType === DeviceTypeEnum.SENSOR || values.deviceType === DeviceTypeEnum.GATEWAY), | ... | ... |