收藏
回答

关于 是否授权保存到相册,为何设置列表中没有该设置权限的选项?


wx.openSetting({
  success (res) {
    console.log(res.authSetting)
    // res.authSetting = {
    //   "scope.userInfo": true,
    //   "scope.userLocation": true
    // }
  }
})


使用 openSetting 去往设置页面 为何没有设置是否授权保存到相册的权限?

目前有没有别的方法调用 设置 保存到相册?

回答关注问题邀请回答
收藏

2 个回答

  • xplee
    xplee
    2020-07-07

    设置界面只会出现小程序已经向用户请求过的权限

    2020-07-07
    有用 1
    回复
  • 团团呗
    团团呗
    2020-07-07
    wx.authorize({
            scope: 'scope.writePhotosAlbum',
            success () {
            }
          })
    
    

    使用这个api来授权


    2020-07-07
    有用 1
    回复
登录 后发表内容
问题标签