axios.post(BankAPI.product_listBatch,this.multipleSelection).then(res=>{
if(res.data.success){
let newPageing = Math.ceil((this.totalNum - this.multipleSelection.length) / this.indiPageSize);//向上取整
let currentPage = this.indiPageNum > newPageing ? newPageing : this.indiPageNum;
this.indiPageNum = currentPage < 1 ? 1 : currentPage;
this.refreshTable()
this.$message({
type: 'success',
message: '删除成功'
});
}else{
// this.$messageutil.errorMessage(res.message || res.error)
}
Vue删除当页最后一条数据完毕后不跳转到上一页问题
最新推荐文章于 2023-06-15 20:15:00 发布