相关平台
H5
复现仓库
https://github.com/zxmm996/taroApp.git
浏览器版本: 百度APP: 13.61.5.10
使用框架: React
复现步骤
第一次跳转页面可正常跳转,跳转后返回上一页,再次跳转页面异常。
另:多次尝试卸载百度APP后在重新安装百度APP,第一此扫码打开H5应用页面跳转正常,关闭H5或重新打开百度APP再次扫码打开H5项目可大概率可稳定复现此问题。
期望结果
使用navigeteTo方法可正常跳转页面
实际结果
页面未能正常跳转
环境信息
👽 Taro v4.0.4
Taro CLI 4.0.4 environment info:
System:
OS: Windows 10 10.0.19045
Binaries:
Node: 18.20.4 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.22 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD
npmPackages:
@tarojs/cli: 4.0.4 => 4.0.4
@tarojs/components: 4.0.4 => 4.0.4
@tarojs/helper: 4.0.4 => 4.0.4
@tarojs/plugin-framework-react: 4.0.4 => 4.0.4
@tarojs/plugin-platform-alipay: 4.0.4 => 4.0.4
@tarojs/plugin-platform-h5: 4.0.4 => 4.0.4
@tarojs/plugin-platform-harmony-hybrid: 4.0.4 => 4.0.4
@tarojs/plugin-platform-jd: 4.0.4 => 4.0.4
@tarojs/plugin-platform-qq: 4.0.4 => 4.0.4
@tarojs/plugin-platform-swan: 4.0.4 => 4.0.4
@tarojs/plugin-platform-tt: 4.0.4 => 4.0.4
@tarojs/plugin-platform-weapp: 4.0.4 => 4.0.4
@tarojs/react: 4.0.4 => 4.0.4
@tarojs/runtime: 4.0.4 => 4.0.4
@tarojs/shared: 4.0.4 => 4.0.4
@tarojs/taro: 4.0.4 => 4.0.4
@tarojs/vite-runner: 4.0.4 => 4.0.4
babel-preset-taro: 4.0.4 => 4.0.4
eslint-config-taro: 4.0.4 => 4.0.4
react: ^18.0.0 => 18.3.1
补充信息
复现手机设备信息:
手机型号:iPhone 14 Pro
iOS版本:16.3
百度APP版本:13.61.5.10
Taro V4.0.4、V3.6.34均可复现此问题
另在历史issues中有类似问题, https://github.com/NervJS/taro/issues/12349,相关开发人员未能复现该问题关闭了该issue。
2条答案
按热度按时间j1dl9f461#
navigateTo 中的success方法有成功回调,页面未能正常跳转
kt06eoxx2#
复现视频及页面跳转异常后的DOM结构
WeChat_20240801010041.mp4