如何解决使用xw-open-launch-weapp开放标签初始化成功,没有被正确替换?
公众号H5页面使用wx-open-launch-weapp跳转小程序,js安全域名配置了,公众号也关联了小程序,wx.config()初始化也成功执行了wx.ready(),但是写在<script type="text/wxtag-template"><button>打开小程序</button></script>中的按钮没有显示,通过vconsole,发现wx-open-launch-weapp没有被替换成功,显示的是wx-open-launch-weapp标签,里面script标签中的button没有作为标签渲染,而是灰色文本状态。我换一种方法,用wx.miniProgram.navigateTo()进行跳转,弹窗errMsg: "invokeMiniProgramAPI:ok",不清楚问题出在哪里?