ปรับ tab ยืมคืน
This commit is contained in:
parent
aadb3927e2
commit
d2f28ad2f8
3 changed files with 155 additions and 157 deletions
|
|
@ -82,7 +82,7 @@ const fecthInsignia = async () => {
|
|||
})
|
||||
.finally(async () => {
|
||||
insigniaOp.value = await DataStore.insigniaOp.filter(
|
||||
(x: any) => x.type == tab.value
|
||||
(x: any) => x.type == tab.value || x.type === ""
|
||||
);
|
||||
});
|
||||
};
|
||||
|
|
@ -159,8 +159,9 @@ const columns = ref<QTableProps["columns"]>([
|
|||
},
|
||||
]);
|
||||
watch(tab, () => {
|
||||
console.log(DataStore.insigniaOp);
|
||||
insigniaOp.value = DataStore.insigniaOp.filter(
|
||||
(x: any) => x.type == tab.value
|
||||
(x: any) => x.type == tab.value || x.type === ""
|
||||
);
|
||||
DataStore.insignia = "";
|
||||
fecthlistInsignia();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue