From 18342786629417972a8c6468ef83450b88dae4f8 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 22 四月 2024 15:01:59 +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