浏览代码

:recycle: trying not set intersection loader on list change

tags/0.9.0
J 4 年前
父节点
当前提交
287220c4d4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      vue-theme/src/pages/list.vue

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

@@ -181,7 +181,7 @@ export default {
181 181
             const footerEl = document.querySelector(INTERSECT_SELECTOR)
182 182
             if(!footerEl) return
183 183
 
184
-            console.warn('unsetting intersection handler on:', footerEl)
184
+            console.warn('unsetting intersection handler on:', footerEl, this.sortBy)
185 185
             this.observer.unobserve(footerEl)
186 186
             this.observer.disconnect()
187 187
         },
@@ -203,7 +203,7 @@ export default {
203 203
         type(newType, oldType) {
204 204
             if(!postTypes.includes(newType)) return console.warn('type not found...')
205 205
                 
206
-            this.setIntersectionLoader()
206
+            // this.setIntersectionLoader()
207 207
             this.clearAndInitPostList()
208 208
         },
209 209
         $route(to, from) {

正在加载...
取消
保存