Ming 4 năm trước cách đây
mục cha
commit
e66a73bf7e
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      pages/index/index.vue

+ 4 - 0
pages/index/index.vue

@@ -166,6 +166,9 @@
 				// 微信公众号获取位置
 				jwx.configWeiXin(jweixin => {
 					alert(11)
+					console.log('wx')
+					console.log(wx)
+					console.log('wx')
 					wx.scanQRCode({
 						needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
 						scanType: ["qrCode", "barCode"], // 可以指定扫二维码还是一维码,默认二者都有
@@ -186,6 +189,7 @@
 				// 微信公众号获取位置
 
 				jwx.configWeiXin(jweixin => {
+					
 					alert(22)
 					wx.getLocation({
 						type: 'gcj02', // 默认为wgs84的gps坐标,如果要返回直接给openLocation用的火星坐标,可传入'gcj02'