shish 2 лет назад
Родитель
Сommit
661bddf371

+ 0 - 20
mallApp/src/components/app-area-sel.vue

@@ -136,26 +136,6 @@ export default {
       this.$emit("change", item);
       this.$emit("change", item);
       this.hidePopup();
       this.hidePopup();
     }
     }
-    // 地图操作
-    // reload() {
-    // 	uni.getLocation({
-    // 		type: 'wgs84',
-    // 		success: res => {
-    // 			this.latitude = res.latitude
-    // 			this.longitude = res.longitude
-    // 			// this.nearList()
-    // 		},
-    // 		// eslint-disable-next-line handle-callback-err
-    // 		fail: err => {
-    // 			this.$msg('定位失败')
-    // 			// setTimeout(function() {
-    // 			// 	uni.navigateBack({
-    // 			// 		delta: 1
-    // 			// 	})
-    // 			// }, 1500)
-    // 		}
-    // 	})
-    // },
     // mapChange(e) {
     // mapChange(e) {
     // 	if (e.type == 'end' && (e.causedBy == 'scale' || e.causedBy == 'drag')) {
     // 	if (e.type == 'end' && (e.causedBy == 'scale' || e.causedBy == 'drag')) {
     // 		this.mapCtx.getCenterLocation({
     // 		this.mapCtx.getCenterLocation({

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
mallApp/src/static/js/qqmap-wx-jssdk.min.js


+ 1 - 9
mallApp/src/utils/location.js

@@ -25,15 +25,7 @@ export async function mGetPosition() {
 		return null
 		return null
 	}
 	}
 
 
-	// let getObj = await new Promise(resolve => {
-	// 	uni.getLocation({
-	// 		type: 'gcj02',
-	// 		success: res => resolve(res),
-	// 		fail: e => {
-	// 			console.log('获取位置失败!', e)
-	// 		}
-	// 	})
-	// })
+
 
 
 	// mLocation = getObj
 	// mLocation = getObj
 	mLocation.lat = getObj.latitude
 	mLocation.lat = getObj.latitude

Некоторые файлы не были показаны из-за большого количества измененных файлов