|
@@ -560,6 +560,9 @@ export default {
|
|
|
handleDelete(record) {
|
|
|
console.log('点击删除项id:', record.id)
|
|
|
this.$nextTick(() => {
|
|
|
+ if(this.queryParam.pageNo > 1 && this.adPaListClothesData.length === 1){
|
|
|
+ this.queryParam.pageNo = this.queryParam.pageNo -1
|
|
|
+ }
|
|
|
deleteAdPaList({ id: record.id }).then(res => {
|
|
|
if (res.success) {
|
|
|
console.log('res:', res)
|