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

h5端tabbar下的页面无法显示,只会显示第一个页面,其余表现为空白 #3106

Closed
liuyang1106 opened this issue May 20, 2019 · 8 comments
Assignees

Comments

@liuyang1106
Copy link

问题描述
h5端tabbar下的页面无法显示,只会显示第一个页面,其余表现为空白,该问题出现在IOS机型下,在chrome下不会有该问题,。问题出现在真机上(微信内部浏览器)。但是手动刷新微信浏览器后会出现页面

期望行为
tabber的页面在微信浏览器h5端正常显示

报错信息
无报错信息,代码编译正常

系统信息
taro info
👽 Taro v1.3.0-beta.2

Taro CLI 1.3.0-beta.2 environment info:
System:
OS: macOS 10.14.4
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.3 - /usr/local/bin/node
Yarn: 1.15.2 - /usr/local/bin/yarn
npm: 6.7.0 - /usr/local/bin/npm
npmPackages:
@tarojs/async-await: ^1.3.0-beta.2 => 1.3.0-beta.3
@tarojs/cli: ^1.3.0-beta.2 => 1.3.0-beta.3
@tarojs/components: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/mobx: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/mobx-h5: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/mobx-rn: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/plugin-babel: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/plugin-csso: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/plugin-less: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/plugin-sass: ^1.3.0-beta.2 => 1.3.0-beta.3
@tarojs/plugin-uglifyjs: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/rn-runner: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/router: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/taro: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/taro-alipay: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/taro-h5: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/taro-swan: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/taro-weapp: 1.3.0-beta.2 => 1.3.0-beta.2
@tarojs/webpack-runner: ^1.3.0-beta.2 => 1.3.0-beta.3
eslint-config-taro: 1.3.0-beta.2 => 1.3.0-beta.2
eslint-plugin-taro: 1.3.0-beta.2 => 1.3.0-beta.2
nervjs: ^1.3.9 => 1.3.13

@taro-bot
Copy link

taro-bot bot commented May 20, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@luckyadam luckyadam added the H5 label May 20, 2019
@taro-bot
Copy link

taro-bot bot commented May 20, 2019

CC @Littly

@Littly
Copy link
Contributor

Littly commented Jun 2, 2019

更新到最新的beta版本试一下 tabbar中有某些不兼容ios的函数调用

@Littly Littly added answered and removed H5 labels Jun 2, 2019
@taro-bot taro-bot bot added the to be closed label Jun 2, 2019
@taro-bot
Copy link

taro-bot bot commented Jun 2, 2019

Hello~

您的问题楼上已经有了确切的回答,如果没有更多的问题这个 issue 将在 15 天后被自动关闭。

如果您在这 15 天中更新更多信息自动关闭的流程会自动取消,如有其他问题也可以发起新的 Issue。

Good luck and happy coding~

@taro-bot taro-bot bot removed the to be closed label Jun 10, 2019
@taro-bot taro-bot bot closed this as completed Jun 10, 2019
@shaomingwei
Copy link

shaomingwei commented May 14, 2020

taro 2.2.3版本仍存在此问题,第一次加载只显示tabbar第一项,点其它项时空白,所有项目空白,所有h5版本都有此问题,点击刷新恢复正常

@meow4world
Copy link

meow4world commented May 15, 2020

taro-router
h5会出现空白问题很有可能是配置了customRoutes,导致所有taro_page不匹配,从而设置了所有的taro_page为"display: none"

@smilebuz
Copy link

2.x最新版本下(2.2.6)仍然存在这个问题

@Jinxhao18
Copy link

ios端有问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants