0
페이지에서 일부 html 내용을 표시하기 위해 sencha 2.3.1 및 다음 코드 (app.js)를 사용하고 있습니다. 그러나 아무것도 표시되고 있지 않습니다. 제 잘못이 어디인지 말해주세요.시작 응용 프로그램에서 아무 것도 표시되지 않습니다.
Ext.application({
name: 'Sencha',
requires: ['Ext.tab.Panel'],
launch: function() {
//The whole app UI lives in this tab panel
Ext.Viewport.add({
xtype: 'tabpanel',
fullscreen: true,
tabBarPosition: 'bottom',
items: [
// This is the home page, just some simple html
{
title: 'Home',
iconCls: 'home',
cls: 'home',
scrollable: true,
html: [
'<img height=260 src="http://staging.sencha.com/img/sencha.png" />',
'<h1>Welcome to Sencha Touch</h1>',
"<p>Building the Getting Started app</p>",
'<h2>Sencha Touch (2.0.0)</h2>'
].join("")
}
]
})
}
});
오류를 발견했습니다. 1. Sencha는 Firefox에서 실행되지 않습니다. 2. 서버를 시작하지 않고 indx.html 파일을 직접 실행하려고했습니다. – user3263192
이 게시물에 대한 내 대답을 확인하십시오. http://stackoverflow.com/questions/17542769/ext-ajax-request-not-working-in-browser/17552519#17552519 웹 보안이 비활성화되었습니다. – tabrindle