(vue)微信开发标签wx-open-subscribe,事件返回 isTrusted:false?
<wx-open-subscribe :template="options.extend.templateIds"
:id="'subscribe-btn' + options.randomId">
<script type="text/wxtag-template">
<style>
#btn {
zIndex: 1000 !important;
width: 100px;
height: 100px;
color: red;
fontSize: 34px;
position: relative;
background-color: #333;
top: -20px;
left: -10px;
}
</style>
<div id="btn" style="z-index: 1000; display: inline-block">测试</div>
</script>
</wx-open-subscribe>
let btn = document.getElementById('subscribe-btn' + this.options.randomId);
btn.addEventListener('success', function (e) {
});
btn.addEventListener('error',function (e) {
});
之前是好的,代码和微信公众号配置都没有改过,但从上周开始一直报这个错误