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