Commit a3955a1c9d74ed55c5992c91038b546b8aac0b25
Merge branch 'fix/attribute-deliver' into 'main_dev'
fix: 修复属性下发双向命令下发未校验设备是否在线 See merge request yunteng/thingskit-scada!260
Showing
2 changed files
with
2 additions
and
1 deletions
@@ -13,7 +13,7 @@ enum Api { | @@ -13,7 +13,7 @@ enum Api { | ||
13 | GET_DEVICE_BY_DEVICE_PROFILED_IDS = '/device/getListByDeviceProfileIds', | 13 | GET_DEVICE_BY_DEVICE_PROFILED_IDS = '/device/getListByDeviceProfileIds', |
14 | GET_THINGS_MODEL_SERVICES = '/things_model/get_services/', | 14 | GET_THINGS_MODEL_SERVICES = '/things_model/get_services/', |
15 | 15 | ||
16 | - RPC_COMMAND = '/rpc/', | 16 | + RPC_COMMAND = '/rpc', |
17 | GET_DEVICE_ACTIVE = '/plugins/telemetry/DEVICE/', | 17 | GET_DEVICE_ACTIVE = '/plugins/telemetry/DEVICE/', |
18 | RPC_ONEWAY = '/rpc/oneway', | 18 | RPC_ONEWAY = '/rpc/oneway', |
19 | RPC_TWOWAY = '/rpc/twoway', | 19 | RPC_TWOWAY = '/rpc/twoway', |
@@ -52,6 +52,7 @@ async function getResult() { | @@ -52,6 +52,7 @@ async function getResult() { | ||
52 | objectModel: unref(objectModelTsl), | 52 | objectModel: unref(objectModelTsl), |
53 | deviceDetail: unref(deviceInfo), | 53 | deviceDetail: unref(deviceInfo), |
54 | value, | 54 | value, |
55 | + way: unref(commandWay), | ||
55 | }) | 56 | }) |
56 | 57 | ||
57 | const { createMessage } = useMessage() | 58 | const { createMessage } = useMessage() |