动态修改图片字段默认图片原创
7人赞赏了该文章
1,110次浏览
编辑于2022年02月21日 15:44:08
代码:
Map<String, Object> map = new HashMap<>();
Map<String, Object> item = new HashMap<>();
map.put("dik", "/images/pc/emotion/pt_error_280_160.png");
item.put("item", map);
this.getView().updateControlMetadata("picturefield", item);
效果:
推荐阅读