Parcourir la source

:recycle: always reset the page

tags/0.9.0
J il y a 4 ans
Parent
révision
23ff434ece
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. 1
    3
      vue-theme/src/pages/list.vue

+ 1
- 3
vue-theme/src/pages/list.vue Voir le fichier

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

Chargement…
Annuler
Enregistrer