android - sencha touch 总出现白屏,主要因为XMLHttpRequest cannot load file:///E:/sencha-touch-2.0.0-pr1/src/Panel.js?_dc=1380368900153. Cross origin requests are only supported for HTTP.
PHP中文网
PHP中文网 2017-04-17 11:22:39
0
2
428

当我看见浏览器出现的问题,一堆,都不知道是什么,整个sencha touch2 做的东西都无法实现,都出现白屏啦

GET file:///E:/sencha-touch-2.0.0-pr1/test/sencha-touch-debug.css  
XMLHttpRequest cannot load file:///E:/sencha-touch-2.0.0-pr1/src/Panel.js?_dc=1380368900153. Cross origin requests are only supported for HTTP. sencha-touch-debug.js:7381
Ext.apply.loadScriptFile sencha-touch-debug.js:7381
Ext.apply.require sencha-touch-debug.js:7559
Ext.apply.syncRequire sencha-touch-debug.js:7421
(anonymous function) sencha-touch-debug.js:3130
Ext.ClassManager.instantiate sencha-touch-debug.js:6131
(anonymous function) sencha-touch-debug.js:3130
Ext.application.launch app.js:8
Ext.define.onBeforeLaunch Application.js?_dc=1380368899665:227
Ext.apply.onDocumentReady sencha-touch-debug.js:8609
fn sencha-touch-debug.js:7671
Ext.apply.onReady sencha-touch-debug.js:7676
Ext.onReady sencha-touch-debug.js:7731
Ext.define.constructor Application.js?_dc=1380368899665:152
Class sencha-touch-debug.js:4917
config.onReady sencha-touch-debug.js:8273
Ext.apply.onDocumentReady sencha-touch-debug.js:8609
fn sencha-touch-debug.js:7671
Ext.apply.triggerReady sencha-touch-debug.js:7650
(anonymous function) sencha-touch-debug.js:3116
Ext.apply.refreshQueue sencha-touch-debug.js:7265
Ext.apply.refreshQueue sencha-touch-debug.js:7266
Ext.apply.onFileLoaded sencha-touch-debug.js:7594
(anonymous function) sencha-touch-debug.js:3116
onLoadFn
Uncaught TypeError: object is not a function
(anonymous function)
Ext.ClassManager.instantiate sencha-touch-debug.js:6137
(anonymous function) sencha-touch-debug.js:3130
Ext.application.launch app.js:8
Ext.define.onBeforeLaunch Application.js?_dc=1380368899665:227
Ext.apply.onDocumentReady sencha-touch-debug.js:8609
fn sencha-touch-debug.js:7671
Ext.apply.onReady sencha-touch-debug.js:7676
Ext.onReady sencha-touch-debug.js:7731
Ext.define.constructor Application.js?_dc=1380368899665:152
Class sencha-touch-debug.js:4917
config.onReady sencha-touch-debug.js:8273
Ext.apply.onDocumentReady sencha-touch-debug.js:8609
fn sencha-touch-debug.js:7671
Ext.apply.triggerReady sencha-touch-debug.js:7650
(anonymous function) sencha-touch-debug.js:3116
Ext.apply.refreshQueue sencha-touch-debug.js:7265
Ext.apply.refreshQueue sencha-touch-debug.js:7266
Ext.apply.onFileLoaded sencha-touch-debug.js:7594
(anonymous function) sencha-touch-debug.js:3116
onLoadFn sencha-touch-debug.js:7284
PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
大家讲道理

xmlhttpger is not allowed locally

迷茫

Put your project in the root directory and load it, localhost/...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template