@@ -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()
+ }
})
},