!195 update ruoyi-admin/src/main/resources/templates/system/user/profile/profile.html.

Merge pull request !195 from Hacker/N/A
pull/195/MERGE
若依 2020-08-04 10:21:28 +08:00 committed by Gitee
commit f80a312b9b
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
</div>
<div class="ibox-content">
<div class="text-center">
<p class="user-info-head" onclick="avatar()"><img class="img-circle img-lg" th:src="(${user.avatar} == '') ? @{/img/profile.jpg} : @{${user.avatar}}"></p>
<p class="user-info-head" onclick="avatar()"><img class="img-circle img-lg" th:src="(${#strings.isEmpty(user.avatar)}) ? @{/img/profile.jpg} : @{${user.avatar}}"></p>
<p><a href="javascript:avatar()">修改头像</a></p>
</div>
<ul class="list-group list-group-striped">