vue2中在app.vue中获取route Hyinglin 2023-06-25 268 阅读1分钟 1、在app.vue created中打印this.$route 获取不到值 2、在app.vue中使用watch watch: { "$route": function(val) { console.log(val) } }