我在狀態欄未定義的離子錯誤! 我已經安裝了科爾多瓦狀態欄插件,狀態欄沒有定義離子的錯誤?
0 811629 error ReferenceError: StatusBar is not defined
at http://localhost:8100/js/directives.js:23:33
at Scope.$digest (http://localhost:8100/lib/ionic/js/ionic.bundle.js:30239:23)
at Scope.$apply (http://localhost:8100/lib/ionic/js/ionic.bundle.js:30503:24)
at http://localhost:8100/lib/ionic/js/ionic.bundle.js:32332:36
at completeOutstandingRequest (http://localhost:8100/lib/ionic/js/ionic.bundle.js:19194:10)
at http://localhost:8100/lib/ionic/js/ionic.bundle.js:19470:7
1 811642錯誤的ReferenceError:狀態欄是不是在http://localhost:8100/js/directives.js:23:33 的範圍在http://localhost:8100/lib/ionic/js/ionic.bundle.js:32332:36定義 $摘要(http://localhost:8100/lib/ionic/js/ionic.bundle.js:30239:23) 在範圍$申請(http://localhost:8100/lib/ionic/js/ionic.bundle.js:30503:24) 。 在completeOutstandingRequest(http://localhost:8100/lib/ionic/js/ionic.bundle.js:19194:10) 在http://localhost:8100/lib/ionic/js/ionic.bundle.js:19470:7
你在真實的設備或瀏覽器上運行的虛擬設備上運行? –
在瀏覽器中運行它 – Udit
你必須在真實設備上運行 –