getUserInfo 授权后重复获取信息
<button open-type=“getUserInfo” bindgetuserinfo=“getUnionId” withCredentials>授权登录</button>
点击后我拿到了 user 相关的信息,
那 跳页后我该如何继续重复获得 user 信息?
保存起来 或者 用 wx.getUserInfo 报警告,感觉都不太好,
还是说理论上只能把所有 user 相关操作放在 bind 的回调中完成。
<button open-type=“getUserInfo” bindgetuserinfo=“getUnionId” withCredentials>授权登录</button>
点击后我拿到了 user 相关的信息,
那 跳页后我该如何继续重复获得 user 信息?
保存起来 或者 用 wx.getUserInfo 报警告,感觉都不太好,
还是说理论上只能把所有 user 相关操作放在 bind 的回调中完成。