feat 优化报警消息与列表联通, 报警消息与数字同步, 报警数字与列表同步刷新, 报警列表与消息列表同步刷新
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -301,4 +301,10 @@ onMounted(() => {
|
||||
getList();
|
||||
getDeviceName();
|
||||
});
|
||||
|
||||
//监听数据源变化,自动刷新列表
|
||||
watch(warningListTotal, async (newVal) => {
|
||||
console.log('监听到报警列表变化,自动刷新列表', newVal);
|
||||
await getList();
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user