wx.getPrivacySetting({
success: (res) => {
console.log(res,"res")
if (res.needAuthorization) {
wx.hideTabBar();
// 需要弹出隐私协议
this.STATE_CHANGE({
PrivacyPopupTitle: res.privacyContractName,
showPrivacyPopup: res.needAuthorization,
});
}
},
});
返回的needAuthorization一直为false

用户隐私保护协议配置没有