| | |
| | | FormComponentImg formComponentImg = (FormComponentImg) component; |
| | | params.put("width", formComponentImg.getWidth() == null ? -1 : formComponentImg.getWidth()); |
| | | params.put("height", formComponentImg.getHeight() == null ? -1 : formComponentImg.getHeight()); |
| | | if( formComponentImg.getApi()!=null) { |
| | | params.put("uploadApi", formComponentImg.getApi().getPath()); |
| | | if (formComponentImg.getApi().getParams() != null) { |
| | | List<KeyValue> list = new ArrayList<>(); |
| | |
| | | } |
| | | params.put("uploadApiParams", list); |
| | | } |
| | | } |
| | | } else if (component instanceof FormComponentSwitch) { |
| | | rowData.setType(Switch.class.getSimpleName()); |
| | | } else if (component instanceof FormComponentSelect) { |