授权设置页面为空,不能设置授权
[代码]scope[代码]问 题:1.wx.getsetting 获取不到scope 2.wx.opensetting打开设置页面是空的,不能设置授权 备 注:调试基础库2.4.0 两种实现方式都不可以 html: [代码]<[代码][代码]image[代码] [代码]src[代码][代码]=[代码][代码]'{{avatarUrl}}'[代码] [代码]bindtap[代码][代码]=[代码][代码]'GetUserInfo'[代码][代码]></[代码][代码]image[代码][代码]>[代码][代码]<[代码][代码]button[代码] [代码]open-type[代码][代码]=[代码][代码]"openSetting"[代码] [代码]bindopensetting[代码][代码]=[代码][代码]"open"[代码][代码]>打开设置页</[代码][代码]button[代码][代码]>[代码] js [代码]GetUserInfo: [代码][代码]function[代码] [代码](e) {[代码][代码] [代码][代码]wx.getSetting({[代码][代码] [代码][代码]success(res){[代码][代码] [代码][代码]console.log(res)[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码][代码] [代码][代码]wx.openSetting({[代码][代码] [代码][代码]success(res){[代码][代码] [代码][代码]console.log(res)[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码][代码]},[代码][代码]open:[代码][代码]function[代码][代码](e){[代码][代码] [代码][代码]console.log(e)[代码][代码]}[代码]日志 [图片] 设置页: [图片]