fix bug filter contain status
This commit is contained in:
parent
88c2368fa8
commit
b2446316fc
1 changed files with 2 additions and 2 deletions
|
|
@ -376,9 +376,9 @@ const containStatus = ref<boolean>(false);
|
|||
watch(containStatus, () => {
|
||||
// console.log("containStatus===>", containStatus.value);
|
||||
if (containStatus.value) {
|
||||
rows.value = rowsAll.value.filter((x: any) => x.statusId != 'CONTAIN');
|
||||
} else {
|
||||
rows.value = rowsAll.value.filter((x: any) => x.statusId == 'CONTAIN');
|
||||
} else {
|
||||
rows.value = rowsAll.value.filter((x: any) => x.statusId != 'CONTAIN');
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue