<wx-open-subscribe template="K0Q3hT1wcGhJMgIn0tasdIJuh8XKl_KwykpA_OG_kHk" id="subscribe-btn" ref={wxref}>
<script type="text/wxtag-template">
<button style={{ color: 'black', backgroundColor: '#07c160' }}>
订阅
</button>
</script>
</wx-open-subscribe>
在react中 我使用 wx-open-subscribe 不显示按钮 设置宽高也没用 h5项目放在服务号中的

首先config成功没有?在openTagList里面有不有
其次你们的页面有不有csp要求