Compare commits
No commits in common. "937b597a2e57ceb642fc9f9800d3c2d1dadfc1d1" and "9f10e9c841c88a7fcace8a2dbca3e120bb3783a2" have entirely different histories.
937b597a2e
...
9f10e9c841
|
|
@ -170,11 +170,8 @@ const save = () => {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
const removeTableRow = (row: any) => {
|
const removeTableRow = (row: any) => {
|
||||||
const index = list.value.findIndex(item => item === row);
|
list.value = list.value.filter((item: any) => item.id !== row.id);
|
||||||
if (index !== -1) {
|
calculateTotalPrices();
|
||||||
list.value.splice(index, 1);
|
|
||||||
calculateTotalPrices();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
const pageNum = ref<any>(1)
|
const pageNum = ref<any>(1)
|
||||||
const pageSize = ref<any>(20)
|
const pageSize = ref<any>(20)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue