当前位置:网站首页>微信小程序uniapp页面无法跳转:“navigateTo:fail can not navigateTo a tabbar page“
微信小程序uniapp页面无法跳转:“navigateTo:fail can not navigateTo a tabbar page“
2022-07-08 00:28:00 【超爱学习芸】
报错信息:
"navigateTo:fail can not navigateTo a tabbar page"
报错代码:
uni.navigateTo({ url:'/pages/index/index' })
报错原因:
navigateTo不能跳转到tarbar的页面
修改:
uni.switchTab({ url:'/pages/index/index' })
边栏推荐
- From starfish OS' continued deflationary consumption of SFO, the value of SFO in the long run
- Matlab method is good~
- 腾讯游戏客户端开发面试 (Unity + Cocos) 双重轰炸 社招6轮面试
- 从cmath文件看名字是怎样被添加到命名空间std中的
- 不算不知道,花呗分期的真实利率居然这么高
- 给刚入门或者准备转行网络工程师的朋友一些建议
- uniapp一键复制功能效果demo(整理)
- 小金额炒股,在手机上开户安全吗?
- AttributeError: ‘str‘ object has no attribute ‘strftime‘
- About snake equation (2)
猜你喜欢
COMSOL - Construction of micro resistance beam model - final temperature distribution and deformation - establishment of geometric model
Redux使用
如何制作企业招聘二维码?
Remote sensing contribution experience sharing
保姆级教程:Azkaban执行jar包(带测试样例及结果)
从Starfish OS持续对SFO的通缩消耗,长远看SFO的价值
C语言-模块化-Clion(静态库,动态库)使用
滑环在直驱电机转子的应用领域
[target tracking] |atom
液压旋转接头的使用事项
随机推荐
Android 创建的sqlite3数据存放位置
The foreach map in JS cannot jump out of the loop problem and whether foreach will modify the original array
如果时间是条河
qt-使用自带的应用框架建立--hello world--使用min GW 32bit
break net
由排行榜实时更新想到的数状数值
How does Matplotlib generate multiple pictures in turn & only save these pictures without displaying them in the compiler
[SolidWorks] modify the drawing format
剑指 Offer II 041. 滑动窗口的平均值
COMSOL----微阻梁模型的搭建---最终的温度分布和变形情况----几何模型的建立
Introduction to grpc for cloud native application development
php 获取音频时长等信息
Remote Sensing投稿經驗分享
regular expression
PHP to get information such as audio duration
3. Multi agent reinforcement learning
项目经理有必要考NPDP吗?我告诉你答案
Coordinate conversion of one-dimensional array and two-dimensional matrix (storage of matrix)
如何让导电滑环信号更好
What kind of MES system is a good system