AI助手支持GPT4.0
getUserProfile 在开发工具连续N次试验结果?与文档描述相差太大了GetUserProfile N consecutive test results in the development tool? It is too different from the document description
getUserProfile 在开发工具连续N次试验结果?与文档描述相差太大了
win7专业版
开发工具版本1.05.2103190
基础库 2.15.0
wx.canIUse("getUserProfile")返回永远是false
当wx.authorize()返回"scope.userInfo":true时
wx.getUserProfile()偶尔与文档描述一至,弹出问询窗口
大部分时间返回 fail:can only be invoked by user TAP gesture.只能由用户点击手势调用。
过一会再点,又正常。注意can only be invoked by user TAP gesture后面那个.大部分时间有,偶尔没有
当wx.authorize()返回"scope.userInfo":false时
偶尔返回desc length does not meet the requirements
专门去数了一下desc ,27个
大部分还是can only be invoked by user TAP gesture
但是,当 使用我的用户信息 的开关切换过(无论切为开还是关),再调用wx.getUserProfile()大部分时间都能正确调用,弹出问询窗口。
无论你选择的是拒绝或允许。反正是不能接连点,否则can only be invoked by user TAP gesture
我TM哪里用错了????
Win7 professional development tool version 1.05.2103190 basic library 2.15.0 wx.canIUse ("getuserprofile") always returns false when wx.authorize () return“ scope.userInfo ": true wx.getUserProfile () once in a while, it will pop up a query window and return most of the time fail:can only Be invoked by user tap gesture. A little later, it's normal again. Pay attention to the one after can only be invoked by user tap heritage, Occasionally, I didn't do it wx.authorize () return“ scope.userInfo ": when false, occasionally return desc length does not meet the requirements. After counting the DESC, most of the 27 are still can only be invoked by user tap heritage After the switch is switched (whether it is on or off), call the wx.getUserProfile () it can be called correctly most of the time, and the inquiry window will pop up. Whether you choose to refuse or allow. Anyway, we can't connect points, otherwise we can only be invoked by user tap heritage. Where did I use TM wrongly????
有点魔幻。文档里可一点没提需要点击才能调用。