像这样添加“ __”符号
<form > <div th:each="catFeatGroup,status : ${catFeatGroupList}" > <label>Position</label><input th:field="*{catFeatGroupList[__${status.index}__].position}" th:value="${catFeatGroup.position}" /> <label>Name</label> <input data-th-name="*{catFeatGroupList[__${status.index}__].name}" th:value="${catFeatGroup.name}" /> </div> <button type="submit" >Submit</button></form>


