微信小程序报错_01:[Deprecation] SharedArrayBuffer will require cross-origin isolation as of M92, around Ju
·
关于微信小程序页面跳转报错:[Deprecation] SharedArrayBuffer will require cross-origin isolation as of M92, around July 2021. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.
根据各种踩坑发现有以下几种原因:
1.pages的app.json没写跳转页面
2.js跳转链接写了.wxml
3.不能写相对路径要写绝对路径:/pages/xxx/xxx
4.最最最恶心的一点:tabBar里的页面不支持跳转!如果页面路径已经写进了tabBar的list里,就不能再用navigato跳转了。
tips:如果需要跳转tabBar页面的话需要加入参数:
<url="/pages/xxx/xxx" open-type='switchTab' >
关于微信小程序页面跳转报错:[Deprecation] SharedArrayBuffer will require cross-origin isolation as of M92,-CSDN博客
更多推荐
所有评论(0)