diff --git a/src/views/Index.vue b/src/views/Index.vue index 9aff55e..366ce0f 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -230,7 +230,7 @@ // 初始化地图 this.mapObj = new TMap.Map("mapContainer", { center: center, - boundary: latlngBounds, + // boundary: latlngBounds, zoom: 12, // 地图默认缩放级别 minZoom: 12, maxZoom: 15, diff --git a/src/views/LineList.vue b/src/views/LineList.vue index 69e1178..1e960de 100644 --- a/src/views/LineList.vue +++ b/src/views/LineList.vue @@ -15,7 +15,7 @@
- +
{{item.name}}
@@ -52,7 +52,7 @@ getList() { this.post({ type: this.$route.query.type ? 1 : '', - code: this.$route.query.code + code: this.$route.query.code ? this.$route.query.code : '' },'/api/emap/getLineByCode').then(res => { this.list = res.data })