thymeleaf的th:each遍历获取参数并用split字符串,显示多图片
thymeleaf的th:each遍历获取参数并用split字符串,显示多图片
<div class="form-group"> <div th:each="image : ${#strings.listSplit(webProduct.pic,';')}"> <label class="col-sm-3 control-label">产品图片:</label> <div class="col-sm-8"> <img th:src="${im
原创
2021-10-25 17:10:24 ·
1865 阅读 ·
1 评论