Antiloveg пре 8 година
родитељ
комит
b754572b0d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/main/webapp/WEB-INF/views/portal/scienceTechnology/bigShot.html

+ 1 - 1
src/main/webapp/WEB-INF/views/portal/scienceTechnology/bigShot.html

@@ -58,7 +58,7 @@
 			<ul>
 				<li th:each="star,iterStart:${starList}">
 					<div class="star_content_img">
-						<img th:src="${avatarHost + star.personPortraitUrl}">
+						<img th:if="${star.personPortraitUrl != null}" th:src="${avatarHost + star.personPortraitUrl}">
 						<a href="#">
                             <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
                             关注