使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
注册
登录
bjquanjiang
/
DigitalScholl
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
测试定位功能
应县
yxq
1年前
父节点
e9f68522f9
当前提交
61dd47a82e
共有
1 个文件被更改
,包括
1 次插入
和
1 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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
查看文件
@@ -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
撰写
预览
正在加载...
取消
保存