From 6a27be17c1dc94c48d13c07d0f76c4a77983ea78 Mon Sep 17 00:00:00 2001
From: chenyabin <Chenab123!>
Date: 星期三, 07 四月 2021 16:48:39 +0800
Subject: [PATCH] 统一样式-右侧搜索组件报错修改。

---
 src/components/LayerController/service/WfsLayerService.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/components/LayerController/service/WfsLayerService.js b/src/components/LayerController/service/WfsLayerService.js
index 7f10aee..3aae541 100644
--- a/src/components/LayerController/service/WfsLayerService.js
+++ b/src/components/LayerController/service/WfsLayerService.js
@@ -29,7 +29,10 @@
   }
 
   loadData (wfsUrl) {
-    AjaxUtils.get4JsonDataByUrl(wfsUrl, this.params, (res) => this.draw(res.data.features))
+    AjaxUtils.get4JsonDataByUrl(wfsUrl, this.params, (res) => {
+      console.log(res)
+      this.draw(res.data.features)
+    })
   }
 
   draw (features) {

--
Gitblit v1.8.0