|
|
@@ -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('保存成功');
|