-
Notifications
You must be signed in to change notification settings - Fork 140
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._getApp is not a function; [Component] Lifetime Method Error @ components/navBar/navBar#created TypeError: this._getApp is not a function #25
Comments
是不是分包问题 |
我没有分包,就是按照你给的实例做的:1.引入组件2.示例代码 |
感觉方法定义的位置有问题 |
我直接用你git上的代码也是同样的问题 |
你导入demo也不行吗?别人用的好好的啊 |
是的,我就是直接导入你github上的demo,不行,一样的错误 |
好的,你指定的这个版本可以正常使用 |
问题已解决 ,多谢反馈 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thirdScriptError
this._getApp is not a function; [Component] Lifetime Method Error @ components/navBar/navBar#created
TypeError: this._getApp is not a function
at ye.getSystemInfo (http://127.0.0.1:63328/appservice/components/navBar/navBar.js:146:22)
at ye.created (http://127.0.0.1:63328/appservice/components/navBar/navBar.js:70:10)
at r.safeCallback (WAService.js:1:1037423)
at r.call (WAService.js:1:1037316)
at Function.x._advancedCreate (WAService.js:1:1136263)
at r.createComponent (WAService.js:1:1146424)
at e (WAService.js:1:1179207)
at e (WAService.js:1:1180502)
at e.value (WAService.js:1:1204216)
at x._advancedCreate (WAService.js:1:1134731)
The text was updated successfully, but these errors were encountered: