ソースを参照

:recycle: trying getPosts() only on to->list

tags/0.9.0
J 4年前
コミット
d175389239
1個のファイルの変更7行の追加7行の削除
  1. 7
    7
      vue-theme/src/pages/list.vue

+ 7
- 7
vue-theme/src/pages/list.vue ファイルの表示

@@ -187,14 +187,14 @@ export default {
187 187
             if (path.length <= 1) {
188 188
                 this.clearHero()
189 189
                 this.checkAndSetHero(this.type)
190
-            }
191
-
192
-            // TODO: Track last loaded page per post type
193
-            // Less http calls
194
-            this.page = 1
195
-            this.setIntersectionLoader()
190
+                
191
+                // TODO: Track last loaded page per post type
192
+                // Less http calls
193
+                this.page = 1
194
+                this.setIntersectionLoader()
196 195
 
197
-            this.getPosts(true)
196
+                this.getPosts(true)
197
+            }
198 198
         },
199 199
     },
200 200
     mounted() {

読み込み中…
キャンセル
保存