feat 数据源问题
This commit is contained in:
@@ -315,6 +315,7 @@ onMounted(() => {
|
|||||||
//监听数据源变化,自动刷新列表
|
//监听数据源变化,自动刷新列表
|
||||||
watch(warningListTotal, async (newVal) => {
|
watch(warningListTotal, async (newVal) => {
|
||||||
console.log('监听到报警列表变化,自动刷新列表', newVal);
|
console.log('监听到报警列表变化,自动刷新列表', newVal);
|
||||||
|
//数据源不同, 接口复用,请求多了一遍(不属于bug)
|
||||||
await getList();
|
await getList();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user