Переглянути джерело

:poop: adding logs on list getPosts

tags/0.9.0
J 4 роки тому
джерело
коміт
996d89a1f6
1 змінених файлів з 1 додано та 1 видалено
  1. 1
    1
      vue-theme/src/pages/list.vue

+ 1
- 1
vue-theme/src/pages/list.vue Переглянути файл

@@ -113,7 +113,7 @@ export default {
113 113
         async getPosts(params, dispatchType) {
114 114
             if(!this.type) throw `post type: ${this.type} not found...`
115 115
             let res = []
116
-
116
+            console.log('$route :', $route)
117 117
             // We always grab all pages on hero init so no need to do it here
118 118
             if(this.pType && this.keepFetching && this.type != 'page') {
119 119
                 res = await this.$store.dispatch(

Завантаження…
Відмінити
Зберегти