cn/com allow all

This commit is contained in:
Cai
2025-10-15 20:03:43 +08:00
parent 7122c3be66
commit 3c9c7553b7
6 changed files with 1374 additions and 10 deletions

View File

@@ -136,6 +136,17 @@ document.addEventListener('DOMContentLoaded', function() {
$(systemMessage.id).remove();
}, 5000); // 5000 毫秒 = 5 秒
})
socket.on('process',function(data){
if (typeof data === 'string'){
data = JSON.parse(data);
}
// 遍历每个节点,并更新相应的条目
for (const nodeName in data) {
const statusData = data[nodeName];
updateEntry(nodeName, statusData); // 更新每个节点的条目
}
});
});