老外很忙~没人回我http://forum.framework7.io/t/...跑这儿问一个:react f7怎么使浏览器地址栏url和当前route同步更新,我看了这个react的template,他的所有route在被访问的时候,地址栏url是不变的。谢谢老铁们As stated above, the route's path property means the path/url that will be displayed in browser window address bar (if pushState enabled) when the following route will be loaded either by api or clicking on a link with same path.<Button onClick={()=>{props.f7router.navigate('/memoDetail/', { pushState: true, history: true })}} ></Button>{path: '/course',pushState: true,history: true,component: CoursePage,}都不行,地址栏就是不变。。。
添加回答
举报
0/150
提交
取消
