From 7a4993f26744a5d81881fa84a5b6e7c011ac6fe1 Mon Sep 17 00:00:00 2001 From: Swanky <413564165@qq.com> Date: Mon, 25 Mar 2024 21:22:34 +0800 Subject: [PATCH] 1 --- pages/index/index.vue | 4 ++-- pages/login/login.vue | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 6825ce3..27f420d 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -474,7 +474,7 @@ vectorLayer.getSource().clear(); vectorLayer.getSource().addFeature(pFeature); map.getView().fit(point, { - maxZoom: 18 + maxZoom: 16 }); } if (newValue.layerOpts) { @@ -628,7 +628,7 @@ //天地图影像 var tdt = new TileLayer({ source: new XYZ({ - maxZoom: 18, + maxZoom: 16, url: "https://webst0{1-4}.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}", // url: 'http://t{0-5}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=cef191b507ff5cb698811cd8a9b11ca0', projection: 'EPSG:3857', diff --git a/pages/login/login.vue b/pages/login/login.vue index 6c2f81f..0425119 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -20,7 +20,7 @@ @@ -48,6 +48,7 @@ // content: '表单数据内容:' + JSON.stringify(formdata), // showCancel: false // }); + console.log(formdata) this.loading = true; uni.request({ method: 'POST',