[图片]一直不显示,按钮的宽度为0,react项目。怎么解决呢
wx-open-subscribe标签不显示?<body> <wx-open-subscribe template="TenvU22BA1jCp4YHfYEpRuESXYReQyDuhs4vbdWA99I" id="subscribe-btn"> <script type="text/wxtag-template" slot="style"> <style> .subscribe-btn { color: #fff; background-color: #07c160; } </style> </script> <script type="text/wxtag-template"> <button class="subscribe-btn"> 一次性模版消息订阅 </button> </script> </wx-open-subscribe> </body> 按钮不显示是怎么回事?其他的配置都正常,wx.config正常 wx.config({ debug : true, appId : '${data.appId}', timestamp : '${data.timestamp}', nonceStr : '${data.nonceStr}', signature : '${data.signature}', jsApiList : [ 'checkJsApi', 'chooseImage' ], openTagList : [ 'wx-open-subscribe', 'wx-open-audio' ] });
03-23