如下代码,config也提示成功,但是点击按钮,没有任何反应,也没有任何调试信息。
wx.config({
debug: true,
appId,
timestamp,
nonceStr,
signature,
jsApiList: [
'chooseImage',
'previewImage',
'updateAppMessageShareData',
'updateTimelineShareData'
],
openTagList: ['wx-open-launch-weapp']
});
<wx-open-launch-weapp id="launch-btn" :appid="appId" :path="path">
<component :is="'script'" type="text/wxtag-template" style="display: block">
<slot>
<button
style="
width: 150px !important;
height: 40px !important;
font-size: 18px !important;
background-color: #07c160 !important;
border-radius: 2px !important;
text-align: center !important;
border: 0;
color: #ffffff !important;
"
>点击观看全集</button
>
</slot>
</component>
</wx-open-launch-weapp>
你好,打印fail查看报错信息