当前位置:首页 > 2021年8月19日

小程序授权

tigon4年前 (2021-08-19)小程序3096
export function isAuthLocation() { return new Promise((resolve, reject) => { wx.getSetting({ success(res) { if (!res.authSetti...

主动打开手机定位功能

tigon4年前 (2021-08-19)小程序3052
```export function getLocationListener(){ return new Promise((resolve, reject) => { var that = this wx.openSetting({ success(res){...