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.hideTabBar调用失败: Uncaught (in promise) {errMsg: "hideTabBar:fail custom Tabbar"} #2264

Closed
XanderXueMingJi opened this issue Feb 26, 2019 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@XanderXueMingJi
Copy link

Feature Request 请提到 FeatHub

如果是提交 bug,请搜索文档和 issue,确认以下事项:

  • 该问题没有在其他 issue 和文档讨论到,不属于重复内容

  • 分割线以下的模板除了「 补充信息」每一样都必填

如果不满足以上两点要求的 bug 报告,issue 会被直接关掉。

请多多理解,您现在的不便将会使 Taro 开发者更高效地定位你的问题,修复你的问题。像你一样的 Taro 的使用者也可以通过搜索找到你提供的 bug,对各方都有很大好处。

🙏🙏🙏
阅读完后请在提交的issue中删除以上内容,包括分割线。

问题描述
[问题描述:站在其它人的角度尽可能清晰地、简洁地把问题描述清楚]

复现步骤
Taro.hideTabBar()

期望行为
[这里请用简洁清晰的语言描述你期望的行为]

能隐藏标签栏

报错信息

Uncaught (in promise) {errMsg: "hideTabBar:fail custom Tabbar"}

系统信息

Taro v1.2 及以上版本已添加 taro info 命令,方便大家查看系统及依赖信息,运行该命令后将结果贴下面即可。

  • 操作系统: Windows 10
  • Taro 版本 👽 Taro v1.2.12
  • Node.js 版本 8.11.3
  • 报错平台 微信小程序

补充信息
[可选]
[根据你的调查研究,出现这个问题的原因可能在哪里?]

@taro-bot
Copy link

taro-bot bot commented Feb 26, 2019

欢迎提交 Issue~

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

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

Good luck and happy coding~

@Chen-jj
Copy link
Contributor

Chen-jj commented Feb 28, 2019

@XanderXueMingJi 你可以直接使用 wx.hideTabBar 试试,如果同样报错就是你 API 的使用有问题了。

@taro-bot
Copy link

taro-bot bot commented Apr 8, 2019

CC @Chen-jj

@Chen-jj Chen-jj added answered question Further information is requested labels Apr 8, 2019
@Chen-jj Chen-jj closed this as completed Apr 8, 2019
@SherlockHomer
Copy link

???我怎么看不出解决了
一行代码 Taro.hideTabBar()。有可能是API的使用有问题?

@54huanan
Copy link

我这也是报这个错误。
image

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

No branches or pull requests

5 participants