Browse Source

:poop: adding logs on list getPosts again

tags/0.9.0
J 4 years ago
parent
commit
434661706f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      vue-theme/src/pages/list.vue

+ 1
- 1
vue-theme/src/pages/list.vue View File

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

Loading…
Cancel
Save