Преглед изворни кода

:recycle: always reset the page

tags/0.9.0
J пре 4 година
родитељ
комит
23ff434ece
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1
    3
      vue-theme/src/pages/list.vue

+ 1
- 3
vue-theme/src/pages/list.vue Прегледај датотеку

@@ -103,7 +103,6 @@ export default {
103 103
                     this.dispatchName,
104 104
                     { sortType: sort, params }
105 105
                 )
106
-                this.page = 1
107 106
 
108 107
                 if (this.type == 'event') {
109 108
                     this.$store.dispatch(
@@ -196,8 +195,7 @@ export default {
196 195
                 // console.warn('sort not found:', sort)
197 196
                 sort = null
198 197
             }
199
-            console.log(to)
200
-            console.log(from)
198
+            this.page = 1
201 199
             this.getPosts(true)
202 200
 
203 201
             // Add the infinite scroll load

Loading…
Откажи
Сачувај