diff --git a/anrui-system-ui/src/views/flow/doneList.vue b/anrui-system-ui/src/views/flow/doneList.vue index e0c2ab6e95..b047c4f563 100644 --- a/anrui-system-ui/src/views/flow/doneList.vue +++ b/anrui-system-ui/src/views/flow/doneList.vue @@ -403,12 +403,14 @@ export default { url: 'api/' + this.dialogList.stopUrl, data: this.dialogList, headers: { 'token': getStorage() } - }).then((res) => { - if (res.success) { + }).then((response) => { + if (response.data.success) { this.breakProcessVisible = false this.$message({ showClose: true, type: 'success', message: '操作成功' }) this.getList() } + }).catch(() => { + console.log('操作失败') }) // breakProcess(this.dialogList).then((resp) => { // if (resp.success) {