获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
补充一下:只有冷启动测试是会出错,在刷新一次就会正常,看看了有个报错: The resource http://127.0.0.1:53256/appservice/__dev__/WAServiceMainContext.js?t=wechat&s=1701610948886&v=2.19.4 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally
调用wx.switchTab报错"switchTab:fail timeout"?源码如下: wx.switchTab({ url: '/pages/index/index', success: function(e){ console.log("success!") }, fail:function(e){ console.log("here error!"); } });
2023-12-03