src/components/panel/topicSearch/SewersSearch.vue
@@ -128,11 +128,13 @@ wfsHelper.addLike('name', this.form.keyword) // const _this = this const res = await AjaxUtils.GetDataAsynByUrl(wfsHelper.getUrl(), {}) console.log(res) if (res instanceof Object && Object.prototype.hasOwnProperty.call(res, 'features')) { this.list = res.features } }, handleLocation (val) { console.log(val) const bound = this.L.geoJSON([val], {}).getBounds() // var layer = window.layerFactory.flyByLayerId(val.id, bound) window.map.flyToBounds(bound)