設(shè)置內(nèi)容如下:<Route path="/first" component={First} />
<Route path="/first/:id" component={FirstDetail} />問題是:在first頁面跳轉(zhuǎn)到first:/id頁面,不會刷新頁面,會追加內(nèi)容。請問有什么好的方法?,這兩個(gè)路由對應(yīng)的是不同的頁面
react-router-dom 跳轉(zhuǎn)問題js
慕姐4208626
2018-11-13 13:13:37