// An highlighted block
<official-account @load="bindload" @error="binderror"></official-account>
bindload: function(detail) {
console.log(detail, "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@")
},
binderror: function(detail) {
// console.log(detail,"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@")
},
真机调试的时候 需要添加方式为‘解析二维码’,进入场景为‘扫描小程序码’等场景下才可以启动公众号
详情见: 官方文档