<input type="hidden" th:value="${dictionaryType.id}" name="typeId"/>
切记切记这样写是不对的:
<input type="hidden" th:value="${dictionaryType.id}" th:field="*{typeId}"/>
<input type="hidden" th:value="${dictionaryType.id}" name="typeId"/>
切记切记这样写是不对的:
<input type="hidden" th:value="${dictionaryType.id}" th:field="*{typeId}"/>