摘要: 当我们在使用react或vue的router作路由跳转时,为了保持菜单与地址栏状态一致,我们可以使用window.onhashchange捕获#后面的变化 阅读全文
posted @ 2019-05-27 09:44 知兮 阅读(1388) 评论(0) 推荐(0) 编辑