Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
bjquanjiang
/
DigitalScholl
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
测试定位功能
应县
yxq
hace 1 año
padre
e9f68522f9
commit
61dd47a82e
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/scanCode.vue
+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/scanCode.vue
Ver fichero
@@ -51,7 +51,7 @@
}else{
this.TOAST("正在定位...")
}
wx.getLocation({
this.
wx
Object
.getLocation({
type: "gcj02", // 默认为wgs84的gps坐标,如果要返回直接给openLocation用的火星坐标,可传入'gcj02'
success: function (res) {
var latitude = res.latitude; // 纬度,浮点数,范围为90 ~ -90
Escribir
Vista previa
|
|
|
|
|
|
x
0
0
0:0
Cargando…
Cancelar
Guardar