diff --git a/README.md b/README.md index 9ec5735..c0d77c6 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ 演示地址 + ## 特性 - 基于[react](https://github.com/facebook/react),[ant-design](https://github.com/ant-design/ant-design),[dva](https://github.com/dvajs/dva),[Mock](https://github.com/nuysoft/Mock) 企业级后台管理系统最佳实践 @@ -19,8 +20,21 @@ - 基于[dva](https://github.com/dvajs/dva)动态加载 Model 和路由,按需加载 - 浅度响应式设计 +## 注意 +如果使用到roadhog,且出现接口404 +- 保证`package.json`里没有`roadhog` +- 删除`node_modules` +- `npm i` +- `npm i roadhog@0.6.0-beta.3 -g` + ## 更新日志 +### 4.2 + +`2017-04-21` + +-   重写Menu,Bread组件及配置文件,[说明](https://github.com/zuiidea/antd-admin/wiki/%E8%8F%9C%E5%8D%95%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6) + ### 4.1 `2017-04-14` diff --git a/src/utils/menu.js b/src/utils/menu.js index 4042682..8bc2340 100644 --- a/src/utils/menu.js +++ b/src/utils/menu.js @@ -100,7 +100,7 @@ module.exports = [ mpid: 5, name: 'BarChart', icon: 'bar-chart', - router: '/chart/lineChart', + router: '/chart/barChart', }, { id: 53,