DESKTOP-O04BTUJ\muzen пре 3 година
родитељ
комит
2ac37754a5
1 измењених фајлова са 5 додато и 3 уклоњено
  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()
+        }
       })
     },