watch: { $route(val, oldval) { this.routeName = this.$route.name;
conlog.log(val);
conlog.log(oldval);
監(jiān)聽路由,為什么不打印呢這里?
阿晨1998
2019-03-18 14:24:42