thymeleaf——th:value标签为空报错解决办法
需求注:examid是tpGlobalExammessage对象的属性<form id="form-notice-edit" th:object="${tpGlobalExammessage}"> <input th:field="*{examid}" type="hidden"></form>以上代码逻辑上面没有问题,但是当后台取到的tpGlobalExammessage对象为空时,由于examid同样为空则,程序会报错EL1007E: Propert
原创
2021-10-14 15:01:51 ·
2036 阅读 ·
0 评论