From e246aa751c6a8b36721e8acf70acc238188f49dc Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期一, 15 十二月 2025 11:12:25 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/map/http.js |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/zy-acs-flow/src/map/http.js b/zy-acs-flow/src/map/http.js
index 6180ac3..27de2c1 100644
--- a/zy-acs-flow/src/map/http.js
+++ b/zy-acs-flow/src/map/http.js
@@ -418,12 +418,15 @@
             zoneId: zoneId,
             ...areaData,
         });
-        const { code, msg } = res.data;
+        const { code, msg, data } = res.data;
         if (code !== 200) {
             notify.error(msg);
+            return null;
         }
+        return data;
     } catch (error) {
         notify.error(error.message);
         console.error(error.message);
     }
-}
\ No newline at end of file
+    return null;
+}

--
Gitblit v1.9.1