1.vue 导航路由跳转点击两下,才会有选择中状态
2.问题本质是传递激活状态
3 在data面 **curren:0,**改进为 **current:this.$route.query.current | 0,
4.在点击时间里面添加
this.$router.push({path:toPath,query:{current:index}})
1.vue 导航路由跳转点击两下,才会有选择中状态
2.问题本质是传递激活状态
3 在data面 **curren:0,**改进为 **current:this.$route.query.current | 0,
4.在点击时间里面添加
this.$router.push({path:toPath,query:{current:index}})