From 6a27be17c1dc94c48d13c07d0f76c4a77983ea78 Mon Sep 17 00:00:00 2001
From: chenyabin <Chenab123!>
Date: 星期三, 07 四月 2021 16:48:39 +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