Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taro.navigateTo在网络不佳时页面未显示但已回调完成? #16774

Open
1019058432 opened this issue Oct 29, 2024 · 0 comments
Open
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x

Comments

@1019058432
Copy link

1019058432 commented Oct 29, 2024

相关平台

H5

浏览器版本: Chrome 62
使用框架: React

复现步骤

在调试面板降低网速,调用Taro.navigateTo跳转至另一路由页面。

期望结果

当页面挂载时执行Taro.navigateTo回调

实际结果

路由立即变化,但加载过程中路由栈和页面无任何无反应,如何得知路由行为是否真正完成?

环境信息

yarn run v1.22.19
$ taro info
👽 Taro v3.6.24


  Taro CLI 3.6.24 environment info:
    System:
      OS: Windows 10 10.0.19045
    Binaries:
      Node: 18.20.3 - ~\AppData\Local\Temp\yarn--1730204762362-0.5016766171097069\node.CMD
      Yarn: 1.22.19 - ~\AppData\Local\Temp\yarn--1730204762362-0.5016766171097069\yarn.CMD
      npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD
    npmPackages:
      @tarojs/cli: 3.6.24 => 3.6.24 
      @tarojs/components: 3.6.24 => 3.6.24 
      @tarojs/helper: 3.6.24 => 3.6.24 
      @tarojs/plugin-framework-react: 3.6.24 => 3.6.24 
      @tarojs/plugin-platform-alipay: 3.6.24 => 3.6.24 
      @tarojs/plugin-platform-h5: 3.6.24 => 3.6.24 
      @tarojs/plugin-platform-jd: 3.6.24 => 3.6.24
      @tarojs/plugin-platform-qq: 3.6.24 => 3.6.24
      @tarojs/plugin-platform-swan: 3.6.24 => 3.6.24
      @tarojs/plugin-platform-tt: 3.6.24 => 3.6.24
      @tarojs/plugin-platform-weapp: 3.6.24 => 3.6.24
      @tarojs/react: 3.6.24 => 3.6.24
      @tarojs/runtime: 3.6.24 => 3.6.24
      @tarojs/shared: 3.6.24 => 3.6.24
      @tarojs/taro: 3.6.24 => 3.6.24
      @tarojs/taro-loader: 3.6.24 => 3.6.24
      @tarojs/webpack5-runner: 3.6.24 => 3.6.24
      babel-preset-taro: 3.6.24 => 3.6.24
      eslint-config-taro: 3.6.24 => 3.6.24
      react: ^18.0.0 => 18.2.0

Done in 6.91s.
@TheKonka TheKonka added V-3 Version - 3.x F-react Framework - React T-h5 Target - 编译到 H5 labels Oct 29, 2024
@github-project-automation github-project-automation bot moved this to Padding in H5 Oct 29, 2024
This was referenced Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Status: Padding
Development

No branches or pull requests

2 participants