标签: reactjs react-router
例如:
router.beforePush = (url) => '/foo' + url
并且history.push('/bar')应该重定向到'/foo/bar'
history.push('/bar')
'/foo/bar'