会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
泫然
博客园
首页
新随笔
联系
订阅
管理
2021年10月19日
uni.getLocation()不能使用this的原因是。。。
摘要: 想获取位置并赋值给变量 uni.getLocation({ type: 'wgs84', success: (res)=> { console.log('当前位置的经度:' + res.longitude); console.log('当前位置的纬度:' + res.latitude); this.
阅读全文
posted @ 2021-10-19 23:22 泫然
阅读(907)
评论(1)
推荐(0)
编辑
公告