소스 검색

:poop: adding more logs for troubleshooting

tags/0.9.0
J 4 년 전
부모
커밋
19a3e47953
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6
    0
      vue-theme/src/pages/list.vue

+ 6
- 0
vue-theme/src/pages/list.vue 파일 보기

@@ -152,6 +152,12 @@ export default {
152 152
         }
153 153
     },
154 154
     watch: {
155
+        // This only fires navigating from
156
+        // a list page, to another list page
157
+        type(oldType, newType){
158
+            console.log('old:', oldType)
159
+            console.log('new:', newType)
160
+        },
155 161
         $route(to, from) {
156 162
             // Always reset the page count & fetch flag
157 163
             console.log('route to:', to)

Loading…
취소
저장