ant design 新建页面后路由跳转不生效解决方法

引入import {connect} from 'dva';

在页面导出的时候使用

export default connect(({  }) => ({
}))(userStation)

即可

你可能感兴趣的:(前端,react)