浏览代码

: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
         }
152
         }
153
     },
153
     },
154
     watch: {
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
         $route(to, from) {
161
         $route(to, from) {
156
             // Always reset the page count & fetch flag
162
             // Always reset the page count & fetch flag
157
             console.log('route to:', to)
163
             console.log('route to:', to)

正在加载...
取消
保存