This website works better with JavaScript.
首頁
探索
說明
註冊
登入
bjquanjiang
/
DigitalScholl
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
测试定位功能
应县
yxq
1 年之前
父節點
e9f68522f9
當前提交
61dd47a82e
共有
1 個文件被更改
,包括
1 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
取消
儲存