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

this.getPageId is not a function #9739

Closed
Jkanon opened this issue Jul 9, 2021 · 0 comments · Fixed by #9804 or #9858
Closed

this.getPageId is not a function #9739

Jkanon opened this issue Jul 9, 2021 · 0 comments · Fixed by #9804 or #9858
Labels
F-react Framework - React T-qq Target - 编译到 QQ 小程序 V-3 Version - 3.x
Milestone

Comments

@Jkanon
Copy link

Jkanon commented Jul 9, 2021

相关平台

QQ 小程序

复现仓库

https://github.com/Jkanon/taro-issues
小程序基础库: 1.28.0
使用框架: React

复现步骤

配置自定义tabbar,直接运行

期望结果

正常运行,渲染自定义tabbar

实际结果

报错:VM20:252 thirdScriptError
this.getPageId is not a function; [Component] Lifetime Method Error @ custom-tab-bar/index#attached
TypeError: this.getPageId is not a function

环境信息

Taro v3.2.13


  Taro CLI 3.2.13 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 10.16.0 - C:\Program Files\nodejs\node.EXE
      npm: 6.10.0 - C:\Program Files\nodejs\node_global\npm.CMD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-qq Target - 编译到 QQ 小程序 V-3 Version - 3.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants