瀏覽代碼

: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…
取消
儲存