问个问题哈,一个表单里这样写:
[code]
var xxx = new Ext.FormPanel({
items: [{
layout: 'column',
items: [{
aaa
},{
bbb
}]
}]
});
[/code]
我想把aaa那个大括号单独拿出来写,应该怎么弄啊?
[code]
var yyy = new ???;//这里应该写成什么呢?
var xxx = new Ext.FormPanel({
items: [{
layout: 'column',
items: [yyy,{
bbb
}]
}]
});
[/code]
就是写成类似这样