From 9161020eb066d9e3ce123eb94de81ea3050da464 Mon Sep 17 00:00:00 2001 From: yangdelong <828900aaa> Date: 星期三, 07 四月 2021 22:00:06 +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