|
@@ -291,7 +291,11 @@ export default {
|
|
|
type: "success",
|
|
|
message: "删除成功!"
|
|
|
});
|
|
|
- this.init();
|
|
|
+ //删除后当前列表为空,且不是第一页,往前翻一页
|
|
|
+ if(this.projectPageList.length == 1 && this.page.currentPage >1){
|
|
|
+ this.page.currentPage--;
|
|
|
+ }
|
|
|
+ this.getProjectPageList();
|
|
|
this.projectVisible = false;
|
|
|
})
|
|
|
})
|