增加代码 data-options="fit:true" 可解决问题
<div id="cc" class="easyui-layout" data-options="fit:true" style="width: 100%; height: 100%;"> <div data-options="region:‘north‘,title:‘North Title‘,split:true" style="height: 100px;"></div> <div data-options="region:‘south‘,title:‘South Title‘,split:true" style="height: 100px;"></div> <div data-options="region:‘east‘,iconCls:‘icon-reload‘,title:‘East‘,split:true" style="width: 100px;"></div> <div data-options="region:‘west‘,title:‘West‘,split:true" style="width: 100px;"></div> <div data-options="region:‘center‘,title:‘center title‘" style="padding: 5px; background: #eee;"></div> </div>
时间: 2024-10-06 22:40:59