anderx лет назад: 7
Родитель
Сommit
2ff9e2cf3f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/webapp/WEB-INF/views/portal/index.html

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

@@ -212,7 +212,7 @@
 					<a th:href="@{/portal/thinkTank/policyList?type=1}"><span class="line"></span><span>></span></a> 
 					
 				</h4>
-				<img th:src="(policys==null or ${policys[0].titleImg}==null or ${policys[0].titleImg} == '')?${portalHost+'/img/index/index_new2.jpg'}:${avatarUploadHost+policys[0].titleImg}" alt="">
+				<img th:src="(${policys}==null or ${policys[0].titleImg}==null or ${policys[0].titleImg} == '')?${portalHost+'/img/index/index_new2.jpg'}:${avatarUploadHost+policys[0].titleImg}" alt="">
 				<ul>				
 					<li th:each="p,pStatus:${policys}" th:if="${pStatus.index}==0">
 						<a th:href="@{/portal/news/newsDetail(id=${p.id},type=0)}">