navigation-bar
navigation-bar copied to clipboard
this._getApp is not a function; [Component] Lifetime Method Error @ components/navBar/navBar#created TypeError: this._getApp is not a function
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)
是不是分包问题
我没有分包,就是按照你给的实例做的:1.引入组件2.示例代码
感觉方法定义的位置有问题
我直接用你git上的代码也是同样的问题
你导入demo也不行吗?别人用的好好的啊
是的,我就是直接导入你github上的demo,不行,一样的错误
你用下这个版本代码 我下午验证下这个最新版代码
好的,你指定的这个版本可以正常使用
问题已解决 ,多谢反馈