From 4d8a599581ae76b298d4ad442d89b52654bcdfaf Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Fri, 12 May 2023 14:24:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=B2=E5=8A=9E=E5=88=97?= =?UTF-8?q?=E8=A1=A8--=E7=BB=88=E6=AD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- anrui-system-ui/src/views/flow/doneList.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) {