【发布时间】:2019-08-04 10:29:34
【问题描述】:
我正在尝试从仪表板链接到我项目中的某些资源。我使用带有component={Link} 选项的按钮。
它改变了我的网址,但页面保持不变
JS 控制台报错:
不支持即时更改store。您很可能会看到此错误,因为您更新到 Redux 2.x 和 React Redux 2.x,它们不再自动热重载减速器。有关迁移说明,请参阅 https://github.com/reactjs/react-redux/releases/tag/v2.0.0。
我的管理界面不在 root 中
<Button
component={Link}
to={{pathname: "/new_admin/#/issuing_history"}}
type="button" color="success" size={"sm"}>
</Button>
【问题讨论】:
-
你使用的是来自 React Admin 还是 Material UI 的组件
Button?
标签: hyperlink react-admin