微信小程序判断手机有没有定位的方法
时间:2020-02-19 17:56:09
收藏:0
阅读:744
微信小程序判断手机有没有定位的方法
var that = this; wx.getSystemInfo({ success(res) { var isopendingwei = res.locationEnabled; if(isopendingwei==false){ that.tc(‘清先开启手机GPS定位,然后重新刷新‘); } } })
原文:https://www.cnblogs.com/newmiracle/p/12332276.html
评论(0)