Browse Source

项目管理 项目列表

DESKTOP-O04BTUJ\muzen 3 years atrás
parent
commit
2ac37754a5
1 changed files with 5 additions and 3 deletions
  1. 5 3
      src/views/project/list/detail.vue

+ 5 - 3
src/views/project/list/detail.vue

@@ -189,7 +189,7 @@ export default {
           updateContent: e.updateContent,
           version: e.version
         }
-      }else{
+      } else {
         this.addForm = {
           projectId: this.projectId
         }
@@ -244,8 +244,10 @@ export default {
         id: row.id,
         status: status
       }).then(res => {
-        console.log(res);
-        this.getList()
+        if (res.code === 0) {
+          this.getList()
+          this.getHistoryPage()
+        }
       })
     },