我一直在关注react-router 1.0.3的auth-flow示例: var requireAuth = function(nextState, replaceState){ if(!auth.loggedIn()){ replaceState({ nextPathname: ...
確定! 回上一頁