@@ -244,7 +244,7 @@ Ext.define('saas.view.document.kind.ChildForm', {
//重新设置combo高度
var count = combo.store.getCount();
var newHeight = count>5?248-(combo.hiddenBtn?50:0):(33*count+(combo.hiddenBtn?0:50));
- combo.picker.setHeight(newHeight);
+ combo.picker && combo.picker.setHeight(newHeight);
});
}
saas.util.BaseUtil.showSuccessToast('保存成功');
@@ -48,6 +48,7 @@ Ext.define('saas.view.document.kind.KindController', {
return Ext.Array.insert(columns,0,[{
xtype:'actioncolumn',
text:'操作',
+ align: 'center',
items: [{
tooltip: '编辑',
iconCls: 'x-fa fa-pencil fa-fw',