小程序
RGirl8080
认真做每一件事,结果不重要
展开
-
小程序获取GPS
// 判断用户是否拒绝地理位置信息授权,拒绝的话重新请求授权 getUserLocation: function () { let that = this; wx.getSetting({ success: (res) => { // res.authSetting['scope.userLocation'] == undefined 表示 初始化进入该页面 // res.authSetting['scope.userLocati.原创 2021-01-27 16:29:44 · 1363 阅读 · 0 评论 -
小程序
wx.downloadAppForIOS() 下载IOS wx.downloadApp 下载安卓 白名单小程序应该有。我们都没有权限的。原创 2021-01-13 09:46:27 · 114 阅读 · 0 评论