vue使用$router登录跳转为什么获取不到name值呢?
收起
获取路由参数信息用的是this.$route跳转路由才是用this.$router$router和$route的区别https://blog.csdn.net/yolo_link/article/details/126068455
报告相同问题?