<input type="text" th:value="${userInfo!=null ?userInfo.phone:''}">
<input type="text" class="form-control" th:value="*{qq}">