Browse Source

禅道196

gangyj 3 years ago
parent
commit
c74c6532ec
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/manager/projectinfo/list.vue

+ 5 - 1
src/views/manager/projectinfo/list.vue

@@ -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;
         })
       })