소스 검색

:poop: adding logs on list getPosts again

tags/0.9.0
J 4 년 전
부모
커밋
434661706f
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
-            console.log('$route :', $route)
116
+            console.log('$route :', this.$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(

Loading…
취소
저장