0
我在我的應用程序中使用應用程序級別全局變量,它們在iOS上正常工作。在Android上,我收到以下錯誤:無法讀取未定義的屬性baseFetchUrl
。應用程序級別變量在Sencha Touch 2中導致Android上的未定義錯誤
有沒有人有任何建議,爲什麼會發生這種情況?
Ext.application({
name: 'MyApp',
//Development URLs
baseFetchUrl: 'http://xxxx',
baseStoreUrl: 'http://xxxx',
rootApiUrl: 'http://xxxx',
您能告訴我們何時以及如何嘗試讀取baseFetchUrl屬性嗎? – 2013-02-28 22:40:51
我正在訪問它,就像在商店代理中一樣獲取像這樣的列表:'url:MyApp.app.baseFetchUrl' – 2013-03-01 20:32:48