Commit a3955a1c9d74ed55c5992c91038b546b8aac0b25

Authored by 温伟
2 parents e03f2247 3f49904b

Merge branch 'fix/attribute-deliver' into 'main_dev'

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

See merge request yunteng/thingskit-scada!260
... ... @@ -13,7 +13,7 @@ enum Api {
13 13 GET_DEVICE_BY_DEVICE_PROFILED_IDS = '/device/getListByDeviceProfileIds',
14 14 GET_THINGS_MODEL_SERVICES = '/things_model/get_services/',
15 15
16   - RPC_COMMAND = '/rpc/',
  16 + RPC_COMMAND = '/rpc',
17 17 GET_DEVICE_ACTIVE = '/plugins/telemetry/DEVICE/',
18 18 RPC_ONEWAY = '/rpc/oneway',
19 19 RPC_TWOWAY = '/rpc/twoway',
... ...
... ... @@ -52,6 +52,7 @@ async function getResult() {
52 52 objectModel: unref(objectModelTsl),
53 53 deviceDetail: unref(deviceInfo),
54 54 value,
  55 + way: unref(commandWay),
55 56 })
56 57
57 58 const { createMessage } = useMessage()
... ...