摘要: 方法一:三目运算符 <input type="text" th:value="${userInfo!=null ?userInfo.phone:''}"> 方法二:*{ xx },后台数据要设置为内置对象 <input type="text" class="form-control" th:valu 阅读全文
posted @ 2020-03-27 17:25 9529 阅读(4396) 评论(1) 推荐(0)