diff --git a/src/main/webapp/WEB-INF/wechat/iot/device.jsp b/src/main/webapp/WEB-INF/wechat/iot/device.jsp index aa6c0cf..90763c6 100644 --- a/src/main/webapp/WEB-INF/wechat/iot/device.jsp +++ b/src/main/webapp/WEB-INF/wechat/iot/device.jsp @@ -261,7 +261,7 @@ var client; var sensorChangeDebounceFn = debounce(function (params) { - const _params = Object.assign(data, {sensor_id: params.sensor_id}); + const _params = Object.assign({scene_id: scene_id, node_data_type: 0}, {sensor_id: params.sensor_id}); postAjax(localUrl + "/page/node/sensor/lists.json?pageSize=10&paged=1", _params, function (result) { let _result = result.data.data; const sid = GetQueryString("id");