收藏
回答

requirePrivacyAuthorize 点击同意也返回fail?

<button @click="handleRejectPrivacyAuthorization">拒绝</button>

<button id="agree-btn" open-type="agreePrivacyAuthorization"  @click="handleAgreePrivacyAuthorization">同意</button>



handleRejectPrivacyAuthorization() {

this.resolvePrivacyAuthorization(({event: 'disagree'}))

},


handleAgreePrivacyAuthorization() {

  this.resolvePrivacyAuthorization({buttonId: 'agree-btn', event: 'agree'})

},




回答关注问题邀请回答
收藏
登录 后发表内容