dever 6 years ago
parent
commit
54710806c9
2 changed files with 2 additions and 2 deletions
  1. 1 1
      h5/assets/mobile/article.html
  2. 1 1
      h5/assets/mobile/video.html

+ 1 - 1
h5/assets/mobile/article.html

@@ -132,7 +132,7 @@
     <{endif}>
     <a class="app-open" href="<{$app}>">打开JSTYLE精美APP,查看全部评论</a>
 
-    <{if($relation):}>
+    <{if(isset($relation) && $relation):}>
     <div class="recommends">
       <div class='title'><span>相关推荐</span></div>
       <div class="recommends-list">

+ 1 - 1
h5/assets/mobile/video.html

@@ -61,7 +61,7 @@
     <{endif}>
     <a class="app-open" href="<{$app}>">打开JSTYLE精美APP,查看全部评论</a>
 
-    <{if($relation):}>
+    <{if(isset($relation) && $relation):}>
     <div class="recommends">
       <div class='title'><span>相关推荐</span></div>
       <div class="recommends-list">