yezihaohao / react-admin

:sparkles: react-admin system solution : react 后台管理系统解决方案
https://admiring-dijkstra-34cb29.netlify.com/
MIT License
6.65k stars 1.87k forks source link

close #9

Closed mcuking closed 7 years ago

mcuking commented 7 years ago

close

yezihaohao commented 7 years ago

左侧菜单的选中用的是组件的state。初始化或props改变的时候,截取地址栏相应位置的字符,赋值给组件的state并设置antd menu组件的openkey,方法比较简单,不过我觉得这个操作antd具备的话再好不过。至于localStorage和redux在新增的权限模块用到。所有具体的操作还是建议你拉取代码运行调试下

yezihaohao commented 7 years ago

😄不客气~我关issue了。有问题随时可以问哈