摘要: vue相同路由跳转强制刷新该路由组件 在打开该菜单页面的情况下,再次点击菜单需要刷新该组件(销毁再创建) 1 this.$router.push({ 2 path:"/xxx", 3 query:{ 4 t:Date.now(), 5 }, 6 }); 在路由容器上绑定key值 1 <router- 阅读全文
posted @ 2020-06-22 19:15 兀笑 阅读(1540) 评论(0) 推荐(0)