feat 优化报警消息与列表联通, 报警消息与数字同步, 报警数字与列表同步刷新, 报警列表与消息列表同步刷新

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Ironsp
2026-06-11 10:32:13 +08:00
parent 2492b8ff5a
commit 55f0cd2192
3 changed files with 15 additions and 4 deletions

View File

@@ -301,4 +301,10 @@ onMounted(() => {
getList();
getDeviceName();
});
//监听数据源变化,自动刷新列表
watch(warningListTotal, async (newVal) => {
console.log('监听到报警列表变化,自动刷新列表', newVal);
await getList();
});
</script>