navigateTo的URL自动加了路径是怎么回事啊?? 报错信息里前两个/,我并没有添加过,请问怎么回事? app.json: [代码]"pages/FirstPage/FirstPage"[代码][代码],[代码][代码] [代码][代码]"pages/Register/Register"[代码][代码],[代码][代码] [代码][代码]"pages/login/login"[代码][代码],[代码]FirstPage.wxml [代码]<[代码][代码]button[代码] [代码]id[代码][代码]=[代码][代码]"register"[代码] [代码]type[代码][代码]=[代码][代码]"primary"[代码] [代码]bindtap[代码][代码]=[代码][代码]"jumpR"[代码][代码]>注册</[代码][代码]button[代码][代码]>[代码]FirstPage.js [代码]jumpR: [代码][代码]function[代码] [代码](jump) {[代码][代码] [代码][代码]wx.navigateTo({[代码][代码] [代码][代码]url:[代码][代码]'miniprogram/pages/Register/Register'[代码][代码] [代码][代码]})[代码][代码]},[代码]报错信息: [代码]navigateTo:fail page "pages/FirstPage/miniprogram/pages/Register/Register" is not found[代码]
wx.navigateTo()跳转路径有限制吗?- 当前 Bug 的表现(可附上截图) - 预期表现 - 复现路径 - 提供一个最简复现 Demo 当路径是"user"时就无法跳转[图片]
2019-12-16