之前的代码是<td><Link to={`/settings/dicts/${row.id}`}>{row.k}</Link></td> <Route path="dicts"> <IndexRoute components={{sidebar: Settings, main: DictsPage}}/> <Route path=":id" components={{sidebar: Settings, main: DictPage}}/> </Route>之后的代码是<td><Link to={`/settings/dicts/hh/${row.id}`}>{row.k}</Link></td> <Route path="dicts"> <IndexRoute components={{sidebar: Settings, main: DictsPage}}/> <Route path="hh/:id" components={{sidebar: Settings, main: DictPage}}/> </Route>代码改了之后就出问题了请问这种情况怎么解决呢?
添加回答
举报
0/150
提交
取消