From 345444a694b205dce8f640917db457bcf08c914d Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期三, 07 四月 2021 17:28:59 +0800
Subject: [PATCH] 修改图层控制配置

---
 src/components/panel/topicSearch/SewersSearch.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/panel/topicSearch/SewersSearch.vue b/src/components/panel/topicSearch/SewersSearch.vue
index 46e94a3..79f5f03 100644
--- a/src/components/panel/topicSearch/SewersSearch.vue
+++ b/src/components/panel/topicSearch/SewersSearch.vue
@@ -164,8 +164,8 @@
       wfsHelper.addLike(this.form.query.key, this.form.keyword)
       // const _this = this
       const res = await AjaxUtils.GetDataAsynByUrl(wfsHelper.getUrl(), {})
-      if (res.data instanceof Object && Object.prototype.hasOwnProperty.call(res.data, 'features')) {
-        this.list = res.data.features
+      if (res instanceof Object && Object.prototype.hasOwnProperty.call(res, 'features')) {
+        this.list = res.features
       }
     },
     handleLocation (val) {

--
Gitblit v1.8.0