Onsen UI menu.SetMainPage 正在运行但出现错误,导致 Phonegap 开发者应用程序出现奇怪的行为
Onsen UI menu.SetMainPage is working but giving error which is causing strange behaviour in Phonegap Developer App
这是函数给出的错误。发生此错误后,单击事件停止工作。事实上,我不得不强行退出应用程序。但它在 Google Chrome 桌面上运行良好,但出现此错误。
TypeError: undefined is not a function
at Class.module.factory.Class.extend._destroyEventListeners (onsenui.js:10926)
at Class.module.factory.Class.extend._destroy (onsenui.js:10930)
at Scope.$get.Scope.$broadcast (angular.js:14438)
at Scope.$get.Scope.$destroy (angular.js:14062)
at Class.module.factory.Class.extend._appendMainPage (onsenui.js:12139)
at module.factory.Class.extend.setMainPage (onsenui.js:12221)
at processQueue (angular.js:12914)
at angular.js:12930
at Scope.$get.Scope.$eval (angular.js:14123)
at Scope.$get.Scope.$digest (angular.js:13939)angular.js:11358 (anonymous function)angular.js:8445 $getangular.js:14440 $get.Scope.$broadcastangular.js:14062 $get.Scope.$destroyonsenui.js:12139 module.factory.Class.extend._appendMainPageonsenui.js:12221 module.factory.Class.extend.setMainPageangular.js:12914 processQueueangular.js:12930 (anonymous function)angular.js:14123 $get.Scope.$evalangular.js:13939 $get.Scope.$digestangular.js:14227 $get.Scope.$applyonsenui.js:19547 click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste.split.forEach.ngEventDirectives.(anonymous function).compile.listenerangular.js:3013 eventHandler
将 Onsen UI 更新到 1.3.0 解决了我的问题。同样的事情工作得很好。我认为之前版本的 Onsen UI.
中存在某种错误
这是函数给出的错误。发生此错误后,单击事件停止工作。事实上,我不得不强行退出应用程序。但它在 Google Chrome 桌面上运行良好,但出现此错误。
TypeError: undefined is not a function
at Class.module.factory.Class.extend._destroyEventListeners (onsenui.js:10926)
at Class.module.factory.Class.extend._destroy (onsenui.js:10930)
at Scope.$get.Scope.$broadcast (angular.js:14438)
at Scope.$get.Scope.$destroy (angular.js:14062)
at Class.module.factory.Class.extend._appendMainPage (onsenui.js:12139)
at module.factory.Class.extend.setMainPage (onsenui.js:12221)
at processQueue (angular.js:12914)
at angular.js:12930
at Scope.$get.Scope.$eval (angular.js:14123)
at Scope.$get.Scope.$digest (angular.js:13939)angular.js:11358 (anonymous function)angular.js:8445 $getangular.js:14440 $get.Scope.$broadcastangular.js:14062 $get.Scope.$destroyonsenui.js:12139 module.factory.Class.extend._appendMainPageonsenui.js:12221 module.factory.Class.extend.setMainPageangular.js:12914 processQueueangular.js:12930 (anonymous function)angular.js:14123 $get.Scope.$evalangular.js:13939 $get.Scope.$digestangular.js:14227 $get.Scope.$applyonsenui.js:19547 click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste.split.forEach.ngEventDirectives.(anonymous function).compile.listenerangular.js:3013 eventHandler
将 Onsen UI 更新到 1.3.0 解决了我的问题。同样的事情工作得很好。我认为之前版本的 Onsen UI.
中存在某种错误