Commit b1433b9d6a09d899e8f8df79cb3c3f91131ba8d2

Authored by ww
1 parent cae021bb

fix: 修复设备地址码无法取1

@@ -16280,7 +16280,7 @@ class HandleDataInteraction { @@ -16280,7 +16280,7 @@ class HandleDataInteraction {
16280 const { additional } = dataSource || {} 16280 const { additional } = dataSource || {}
16281 const { method, deviceCode, registerAddress } = additional || {} 16281 const { method, deviceCode, registerAddress } = additional || {}
16282 16282
16283 - if (Number(deviceCode) > parseInt('ff', 16) || Number(deviceCode) <= 1) { 16283 + if (Number(deviceCode) > parseInt('ff', 16) || Number(deviceCode) < 1) {
16284 UseLayUi.topErrorMsg('设备地址码范围不在1~255之间') 16284 UseLayUi.topErrorMsg('设备地址码范围不在1~255之间')
16285 return 16285 return
16286 } 16286 }