element-ui,router.push到其他路由,菜单栏不会高亮对应的路由
使用饿了吗的路由,使用this.$router.push({path: ''})跳到其他的路由,菜单不会高亮。 如图所示,点击图上三个位置,需要使用this.$router.push({path: ...
使用饿了吗的路由,使用this.$router.push({path: ''})跳到其他的路由,菜单不会高亮。 如图所示,点击图上三个位置,需要使用this.$router.push({path: ...