uniapp无法跳转(uniapp跳转页面没反应)

lxf2023-05-03 16:02:01

uniapp跳转无效的解决方案:如果要跳转的路径在pagess中.json中的tabbar需要使用【uni.switchTab】跳转,代码为【let page = getCurrentPages().pop();】。

uniapp无法跳转(uniapp跳转页面没反应)

本教程操作环境:windows7系统,uni-app2.5.1版本,该方法适用于所有品牌的电脑。

推荐(免费):uni-app开发教程

uniapp跳转无效的解决方案:

在一个接口中使用uni.navigateTo跳转,但跳转没有反应,

this.$request(this.$api[