fix: 增加定时发送sceneId,避免被缓存过期 【设备监控和公众号】
parent
fd2aa588df
commit
bf9e3f1957
|
|
@ -728,7 +728,7 @@
|
|||
|
||||
setInterval(function () {
|
||||
client.publish('/sys/update/scene', $(".dashboard-menu li.active").attr("sid"));
|
||||
}, 1500);
|
||||
}, 1000 * 10);
|
||||
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@
|
|||
<div>
|
||||
<div>
|
||||
<div style="padding-top: 15px;" type-option="search_table"
|
||||
config-option=" submit:'#searchbtns',table:'#init-table'">
|
||||
config-option=" submit:'#searchbtns',table:'#init-table', param:{ node_id:'$.node_id$',data_type:-1 ,sensor_device_id: '$.sensor_device_id$' , name: '$#eqName$' }">
|
||||
|
||||
<div class="flex items-center justify-between flex-row-reverse">
|
||||
|
||||
|
|
|
|||
|
|
@ -388,10 +388,15 @@
|
|||
});
|
||||
}
|
||||
|
||||
setInterval(function () {
|
||||
client.publish('/sys/update/scene', scene_id);
|
||||
}, 10 * 1000);
|
||||
|
||||
setInterval(function () {
|
||||
for (var i = 1; i < paged; i++) {
|
||||
reflesh(i);
|
||||
}
|
||||
|
||||
}, 60 * 1000);
|
||||
|
||||
// 点击激活
|
||||
|
|
|
|||
|
|
@ -279,7 +279,7 @@
|
|||
setInterval(function () {
|
||||
client.subscribe("/scene/update/" + that.scene_id);
|
||||
client.publish('/sys/update/scene', that.scene_id + '');
|
||||
}, 3000)
|
||||
}, 1000 * 10)
|
||||
}
|
||||
}, created() {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue