1.修改大屏逻辑,只有庆阳大屏查询当天数据,其余大屏查询所有数据
2.修改table模块,监听变化后,才更新列表
This commit is contained in:
2025-03-25 11:59:16 +08:00
parent 2fac32d002
commit 988c2365de
6 changed files with 46 additions and 19 deletions
@@ -95,12 +95,14 @@
watch(
props,
() => {
nextTick(() => {
pageSize.value = 10;
current.value = 1;
getRecords();
});
(v, o) => {
if (JSON.stringify(v) !== JSON.stringify(o)) {
nextTick(() => {
pageSize.value = 10;
current.value = 1;
getRecords();
});
}
},
{
immediate: true,