Commit 6c5ec533 authored by 廖旭伟's avatar 廖旭伟

图片上传控件样式调整

parent 9f8bda97
......@@ -377,4 +377,7 @@ public class ListItem{
@JSONField(name="rowCount")
private Integer rowCount;
@JSONField(name="limit")
private Integer limit;
}
\ No newline at end of file
......@@ -48,7 +48,8 @@ public class DesignImageComponent extends DesignComponent {
columnsItem.setShowTip(false);
columnsItem.setTips("点击按钮上传附件");
columnsItem.setAccept("jpg,png,jpeg,bmp");
columnsItem.setFileSize(10);
columnsItem.setFileSize(10);//文件大 小单位M
columnsItem.setLimit(1); //文件个数
columnsItem.setLayout("colItem");
return columnsItem;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment