Compare commits
2 Commits
9f10e9c841
...
937b597a2e
| Author | SHA1 | Date |
|---|---|---|
|
|
937b597a2e | |
|
|
900cf23055 |
|
|
@ -170,8 +170,11 @@ const save = () => {
|
|||
)
|
||||
}
|
||||
const removeTableRow = (row: any) => {
|
||||
list.value = list.value.filter((item: any) => item.id !== row.id);
|
||||
const index = list.value.findIndex(item => item === row);
|
||||
if (index !== -1) {
|
||||
list.value.splice(index, 1);
|
||||
calculateTotalPrices();
|
||||
}
|
||||
}
|
||||
const pageNum = ref<any>(1)
|
||||
const pageSize = ref<any>(20)
|
||||
|
|
|
|||
Loading…
Reference in New Issue