dever 6 年之前
父節點
當前提交
54710806c9
共有 2 個文件被更改,包括 2 次插入2 次删除
  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">