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

:recycle: swapping undef target for el

tags/0.9.0
J 4 лет назад
Родитель
Сommit
0ec1aa7c13
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      vue-theme/src/pages/list.vue

+ 1
- 1
vue-theme/src/pages/list.vue Просмотреть файл

@@ -154,7 +154,7 @@ export default {
154 154
                 entries.forEach(entry => {
155 155
                     if (!entry.isIntersecting) return
156 156
                     console.log("intersected:", entry)
157
-                    this.observer.unobserve(target)
157
+                    this.observer.unobserve(footerEl)
158 158
                     setTimeout(() => {
159 159
                         this.loadMorePosts()
160 160
                     }, 1000)

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