|
|
|
|
@ -1035,10 +1035,10 @@ const delPoint = (e) => {
|
|
|
|
|
let arr = JSON.parse(JSON.stringify(tableData1.value))
|
|
|
|
|
arr.splice((currentPage1.value - 1) * pageSize1.value + e.$index, 1);
|
|
|
|
|
tableData1.value = arr || []
|
|
|
|
|
if ((currentPage1.value - 1) * pageSize1.value + e.$index === dotIndex.value) {
|
|
|
|
|
console.log(123)
|
|
|
|
|
dotIndex.value = -1
|
|
|
|
|
}
|
|
|
|
|
console.log(e.index)
|
|
|
|
|
console.log(dotIndex.value)
|
|
|
|
|
dotIndexF((currentPage1.value - 1) * pageSize1.value + e.$index)
|
|
|
|
|
console.log(dotIndex.value)
|
|
|
|
|
}
|
|
|
|
|
// 当前页
|
|
|
|
|
const currentPage1 = ref(1)
|
|
|
|
|
|