From 1da21d5a4969bd0cade1166c12252b19a22839ad Mon Sep 17 00:00:00 2001 From: chenkainan Date: Wed, 25 Sep 2024 14:02:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Index.vue | 2 +- src/views/LineList.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 })