收藏
回答

自定义隐私弹窗同意按钮不显示怎么办?

我们在微信小程序中自定义了隐私保护指引弹窗,并在同意按钮中使用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

回答关注问题邀请回答
收藏

1 个回答

  • 社区技术运营专员-Jahozheng
    社区技术运营专员-Jahozheng
    2023-10-15

    你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

    2023-10-15
    有用
    回复 2
    • 杨楚
      杨楚
      2023-10-15
      2023-10-15
      回复
    • 杨楚
      杨楚
      2023-10-15
      目前反馈机型:


      品牌:Apple


      型号:iPhone 14


      系统版本:17.0.3


      微信版本:8.0.42
      2023-10-15
      回复
登录 后发表内容