我们在微信小程序中自定义了隐私保护指引弹窗,并在同意按钮中使用open-type="agreePrivacyAuthorization",但是在部分机型中,不显示该按钮
<button
id="disagree-btn"
type="default"
class="refuseBtn"
@click.stop="handleDisagree"
>拒绝</button>
<button
id="agree-btn"
type="default"
open-type="agreePrivacyAuthorization"
class="agreeBtn"
@click.stop="()=>{return false}"
@agreeprivacyauthorization.stop="handleAgree"
>同意</button>
handleAgree() {
this.resolvePrivacyAuthorization &&
this.resolvePrivacyAuthorization({
event: 'agree',
buttonId: 'agree-btn'
})
}
目前反馈机型:
品牌:Apple
型号:iPhone 14
系统版本:17.0.3
微信版本:8.0.42
你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
<button
id="disagree-btn"
type="default"
class="refuseBtn"
@click.stop="handleDisagree"
>拒绝</button>
<button
id="agree-btn"
type="default"
open-type="agreePrivacyAuthorization"
class="agreeBtn"
@click.stop="()=>{return false}"
@agreeprivacyauthorization.stop="handleAgree"
>同意</button>
handleAgree() {
this.resolvePrivacyAuthorization &&
this.resolvePrivacyAuthorization({
event: 'agree',
buttonId: 'agree-btn'
})
}
品牌:Apple
型号:iPhone 14
系统版本:17.0.3
微信版本:8.0.42