From 94e9b54ed5f2ce4641db89007b4252b03925b17e Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 23 四月 2024 09:51:56 +0800 Subject: [PATCH] 11 --- src/views/project/donationdetails/index.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue index af744bc..06225b6 100644 --- a/src/views/project/donationdetails/index.vue +++ b/src/views/project/donationdetails/index.vue @@ -3331,11 +3331,10 @@ addDonatecompletioninfo(this.accomplishform).then(response => { this.$modal.msgSuccess("瀹屾垚鐧昏鎴愬姛"); saveDonatecomporgan(this.transplantdata).then(res => { - if (res == 200) { + if (res.code == 200) { this.$modal.msgSuccess("鎹愮尞鍣ㄥ畼鐧昏淇℃伅淇濆瓨鎴愬姛锛�"); } else { - this.$modal.msgSuccess(res.msg); - return; + this.$modal.msgError(res.msg); } this.$modal.closeLoading(); }); -- Gitblit v1.9.3