<button class="confuse_btn" id="" @click="confusePrivacy">拒绝</button><button class="confirm_btn" id="agree-btn" open-type="agreePrivacyAuthorization" @agreeprivacyauthorization="handleAgreePrivacyAuthorization">同意</button>这个点击时// 拒绝
confusePrivacy(){
this..resolvePrivacyAuthorization({ event:'disagree' })
this.$refs.privacyPopup.close()
},
// 同意
handleAgreePrivacyAuthorization(){
// 告知平台用户已经同意,参数传同意按钮的id
this.resolvePrivacyAuthorization({ buttonId: 'agree-btn', event: 'agree' })
this.$refs.privacyPopup.close()
}报TypeError: this.resolvePrivacyAuthorization is not a function
at VueComponent.handleAgreePrivacyAuthorization (logins.js? [sm]:245)
两个.![](http://mmbiz.qpic.cn/mmbiz_png/nGTylzmXhsibfZLY19pOINBx4jvicYPywjyr24ibqSbt1G45QjV2TibR0b8HuAAe3Libusk0sjiapSumK37ZQ6YCOh3w/0?wx_fmt=png)