瀏覽代碼

:recycle: unneeded await | no setting intersection from mounted

tags/0.9.0
J 4 年之前
父節點
當前提交
3fef10dae3
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. 1
    2
      vue-theme/src/pages/list.vue

+ 1
- 2
vue-theme/src/pages/list.vue 查看文件

@@ -189,7 +189,7 @@ export default {
189 189
             this.page = 0
190 190
             this.keepFetching = true
191 191
 
192
-            await this.checkAndSetHero(this.type)
192
+            this.checkAndSetHero(this.type)
193 193
 
194 194
             // Fires when loading from home
195 195
             // Clear any preloaded posts (from home, etc.)
@@ -228,7 +228,6 @@ export default {
228 228
         }
229 229
     },
230 230
     mounted() {
231
-        this.setIntersectionLoader()
232 231
         console.log('init from mounted...')
233 232
         this.clearAndInitPostList()
234 233
     },

Loading…
取消
儲存