Skip to content

Commit 2a34911

Browse files
author
chenghao
committed
update readme
1 parent 48b1e62 commit 2a34911

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,18 @@ npm run build
158158
- antd@2.11.2
159159
- webpack@2.6.1
160160
- 等等
161-
 
161+
#### 2017-08-01
162+
- 引入redux系列
163+
- redux@3.7.2
164+
- redux-thunk@2.2.0
165+
- react-redux@5.0.5
166+
- 增加权限管理模块
167+
- 使用easy-mock模拟数据模拟登录接口
168+
- 使用redux系列将登录用户数据传递给权限组件
169+
- 权限组件采用Render Callback的方式传递权限给需要受控制的组件(具体做法请查看源代码。)
170+
- 用户状态保存在localStorage中
171+
- 具体做法请运行项目查看
172+
- PS:以上管理权限只是一种方式,但这绝对不是唯一的方式,也不是最好的方式。如果你有更好的方式,不妨加上面的群和大家一起分享下。😄😄
173+
- 增加路径别名
174+
- 使用@别名处理引入组件相对路径过长问题。
175+
- 缺点:编辑器不能使用快捷提示和快捷跳转到相应的文件

0 commit comments

Comments
 (0)