They both returned undefined . Turns out I was adding the Router to the DOM with <Router>...</Router> in the same component I was using ...
確定! 回上一頁