1
js文件在浏览器的缓存问题,一定要重视
js样式的修改,最好能先将浏览器的缓存清楚,再加载
2
var win = Ext.create('Ext.window.Window',{
//此处省略若干代码
//........
items:[
{
title:'hello',
width:100,
height:100
},{
title:'world',
width:100,
height:100
},{
title:'foo',
width:100,
height:100
},//注意这里的英文逗号,在chrome和火狐中不会报错
]
//此处省略若干代码
//........
//此处省略若干代码
//........
items:[
{
title:'hello',
width:100,
height:100
},{
title:'world',
width:100,
height:100
},{
title:'foo',
width:100,
height:100
},//注意这里的英文逗号,在chrome和火狐中不会报错
]
//此处省略若干代码
//........
})