xq commit:"完成了筛选"
This commit is contained in:
@ -1209,11 +1209,10 @@ watch(
|
||||
if (nv !== ov) {
|
||||
inverterList.value = [];
|
||||
const a = totalArr.value.filter((item) => item.projectId === nv || item.projectId === '0');
|
||||
console.info(nv);
|
||||
console.info(a);
|
||||
a.forEach((item) => {
|
||||
inverterList.value.push(item);
|
||||
});
|
||||
total.value = inverterList.value.length;
|
||||
}
|
||||
},
|
||||
{ immediate: true }
|
||||
|
Reference in New Issue
Block a user