Feather

Results 5 comments of Feather

问题三的那个我发现和问题一一样,我设置了 ```js menuHeaderRender={(logoDom, titleDom) => ( {logoDom} {titleDom} )} ``` 刚开始是没有导航栏的,然后点击一下这个标签的内容,导航栏就渲染出来了。

我在请求完成之后`history.push('/');`就可以了,有没有其他优雅一点的解决方案。 请求部分代码: ```js effects: { *fetch(_, { call, put }) { const response = yield call(getMenus); history.push('/'); yield put({ type: 'get', payload: response, }); }, }, ```

@chenshuai2144 我安装了6.2.2版本,有bug,重新启动项目后,导航的顶部导航栏和侧边导航栏一致,且顶部没有选中,然后再点击一下导航栏恢复正常 ![1](https://user-images.githubusercontent.com/26077292/87011810-fbe07f00-c1fa-11ea-9bd0-575ff595dbf0.png) 他原本应该是: ![image](https://user-images.githubusercontent.com/26077292/87012282-a35db180-c1fb-11ea-8651-e8995f0bb0a0.png) 但是导航栏渲染的问题是正常的了。

> 来个重现? 我弄了个demo,然后把代码的压缩包上传到如下地址了,麻烦查看一下。 ``` https://github.com/LB-nan/react-redux-demo/blob/master/antdpro_layout_6.2.4.zip ``` 下载解压` npm install` 一哈,然后启动完成点链接查看就好了。 ps:我公司网好像出问题了,本地github一直链接不上,只能打个压缩包上传,抱歉~

![22](https://user-images.githubusercontent.com/26077292/87892771-94cf8f80-ca70-11ea-8538-2949e2c75d33.png)