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',