Просмотр исходного кода

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

tags/0.9.0
J 4 лет назад
Родитель
Сommit
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() {

Загрузка…
Отмена
Сохранить