扫描小程序码分享
wx.openSetting({ success (res) { console.log(res.authSetting) // res.authSetting = { // "scope.userInfo": true, // "scope.userLocation": true // } } })
使用 openSetting 去往设置页面 为何没有设置是否授权保存到相册的权限?
目前有没有别的方法调用 设置 保存到相册?
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
设置界面只会出现小程序已经向用户请求过的权限
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
wx.authorize({ scope: 'scope.writePhotosAlbum', success () { } })
使用这个api来授权
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
设置界面只会出现小程序已经向用户请求过的权限
wx.authorize({ scope: 'scope.writePhotosAlbum', success () { } })
使用这个api来授权