設定內容如下:
<Route path="/first" component={First} /> <Route path="/first/:id" component={FirstDetail} />
問題是:在first頁面跳到first:/id頁面,不會重新整理頁面,會追加內容。請問有什麼好的方法? ,這兩個路由對應的是不同的頁面
雷雷
雷雷