- 使用wx-open-subscribe 报20001是什么原因?
<view class="button-wantLook"> <wx-open-subscribe template="NXhHu2O9HKAF3UY_4tz8mGtgVYrWlnzkVHBs8My0hzQ" id="subscribeBtn" ref="subscribeBtn"> <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> </view> const btn = that.$refs.subscribeBtn; btn.addEventListener('success', function(e){ console.log('success', e.detail) }); btn.addEventListener('error', function(e){ console.log('fail', e.detail) }); appid 模板Id确认没问题,wx.config也配置成功,openTagList: ['wx-open-subscribe'] 也配置了。为什么会报这个错呀 具体报错信息 err_code:20001,err_msg:'requestSubscribeMessage:No template data return,verify the template id exist'
2022-10-09 - cover-view cover-image在swiper里不会跟着滑动怎么办?
做短视频上下滑动,思路是 swiper里放video组件并且全屏显示,然后放cover-view cover-image展示点赞图标和点赞数,因为用view和image的话,会被video覆盖,但是swiper上下滑动时 cover-view不会跟着滑动
2021-04-16 - 为什么开发版和体验版手机4g访问不到http接口?
在开发工具里开启不校验合法域名可以访问到http接口,但是开发版和体验版,需要连接公司wifi才能访问到接口,用手机数据就访问不到,请问是什么问题?
2020-07-23