Przeglądaj źródła

:recycle: look at the path

tags/0.9.0
J 4 lat temu
rodzic
commit
1084a3ac44
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2
    0
      vue-theme/src/pages/list.vue

+ 2
- 0
vue-theme/src/pages/list.vue Wyświetl plik

161
             // eg. list page -> list page
161
             // eg. list page -> list page
162
             const path = to.fullPath.split('/').filter(p => p)
162
             const path = to.fullPath.split('/').filter(p => p)
163
             console.log('to:', path)
163
             console.log('to:', path)
164
+            console.log('?:', path.pop())
165
+            console.log('?:', path.pop())
164
 
166
 
165
             // Always reset the page count
167
             // Always reset the page count
166
             this.page = 1
168
             this.page = 1

Ładowanie…
Anuluj
Zapisz