Commit 3f49904b7c4d2f76454a8c0dabe3cd92e749f80e

Authored by ww
1 parent e03f2247

fix: 修复属性下发双向命令下发未校验设备是否在线

@@ -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()