<button size="small" type="primary" id="agree-btn" open-type="agreePrivacyAuthorization"
@agreeprivacyauthorization="handleAgree">同意</button>
handleAgree() {
console.log('同意')
},
微信可以,支付宝的没有
2 个回复
z***@foxmail.com (作者)
看了支付宝的是```javascript
<button open-type="getAuthorize|agreePrivacyAuthorization" onGetPhoneNumber="handleGetPhoneNumber" onAgreePrivacyAuthorization="handleAgreePrivacyAuthorization">同意隐私协议并授权手机号</button>
z***@foxmail.com (作者)
用原生写法处理了