Cannot read property 'globalData' of undefined;at App onLaunch function

Cannot read property 'globalData' of undefined;at App onLaunch functionapp 最初是將 'globalData'  的定義放在了 app.js 最後面,認爲是尚未加載;而後把定義放在 onLaunch 前面,但仍是不行;因此認爲是在 App 的 onLaunch 事件處理程序中沒法讀取globalData,由於其尚未被加載定義
相關文章
相關標籤/搜索