开始用的代码:
$('#ids').layout('panel', 'north').panel('resize',{height:300});
运行结果 不正常。
正确的代码是:
$('#ids').layout('panel', 'north').panel('resize',{height:300}); $('#ids').layout('resize');
$('#ids').layout('panel', 'north').panel('resize',{height:300});
$('#ids').layout('panel', 'north').panel('resize',{height:300}); $('#ids').layout('resize');