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

2.2.15 tabbar页面多次加载 #8007

Closed
mengtianren opened this issue Nov 9, 2020 · 1 comment
Closed

2.2.15 tabbar页面多次加载 #8007

mengtianren opened this issue Nov 9, 2020 · 1 comment
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-2 Version - 2.x

Comments

@mengtianren
Copy link

相关平台

H5

复现仓库

https://github.com/mengtianren/taro-tabbar
浏览器版本: Google Chrome 86.0.4240.111
使用框架: React

复现步骤

1.登录页点击去首页
2.tabbar 点击用户对应tab,跳转到用户页面
3.用户页面点击退出,redirectTo({url:'/pages/login/index'})
4.重复步骤1,进入首页后下滑 ,会出现多个首页ui

期望结果

从普通页面进入tabbar页面,再从tabbar页面跳转到普通页面,再次从普通页面进入tabbar页面时不出现多个tabbar

实际结果

tabbar页面多次加载

环境信息

Taro CLI 2.2.15 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 12.14.0 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
      npm: 6.13.0 - C:\Program Files\nodejs\npm.CMD

补充信息

路由相关函数的回调也没有生效

@taro-bot2 taro-bot2 bot added F-react Framework - React T-h5 Target - 编译到 H5 V-2 Version - 2.x labels Nov 9, 2020
@sunpm
Copy link

sunpm commented Jul 28, 2021

@Chen-jj 这个bug请问怎么解决呢

@ZakaryCode ZakaryCode moved this to Done in H5 Apr 10, 2023
@ZakaryCode ZakaryCode added this to H5 Apr 10, 2023
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-2 Version - 2.x
Projects
Archived in project
Development

No branches or pull requests

3 participants