소스 검색

: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
         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
-
116
+            console.log('$route :', $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…
취소
저장