dva-example-user-dashboard icon indicating copy to clipboard operation
dva-example-user-dashboard copied to clipboard

👲 👬 👨‍👩‍👧 👨‍👩‍👦‍👦

Results 33 dva-example-user-dashboard issues
Sort by recently updated
recently updated
newest added

server端是本地的一个java服务, 支持cors. example中的dva/fetch返回的response.headers里没x-total-count,但在chrome console可以看到x-total-count. ![image](https://cloud.githubusercontent.com/assets/2636613/24183387/046d4eea-0f03-11e7-8286-cd297ef96e32.png) ![image](https://cloud.githubusercontent.com/assets/2636613/24183405/270b1068-0f03-11e7-8e12-0c347bf18ee1.png)

将build 之后的文件放在本地tomcat /antd目录下, 访问 http://localhost:8080/antd/ 页面空白 Network 中 http://localhost:8080/antd/roadhog.dll.js 404

npm run build 之后 Users 数据无法加载。 ` "proxy": { "/api": { "target": "http://jsonplaceholder.typicode.com/", "changeOrigin": true, "pathRewrite": { "^/api" : "" } } },` http://localhost:8080/api/users?_page=1&_limit=3

![2017-07-20 8 14 14](https://user-images.githubusercontent.com/9269475/28416787-056ed1a4-6d88-11e7-9525-c76a407f6066.png)

question

考虑 delete 请求一般响应为 204 No Content,会导致 request 无法被 parse 为 json 格式。

index.js:1871 Warning: [react-router] Location "...../dist/index.html" did not match any routes

侧边栏刷新后的选中菜单消失,查看代码后发现是components/menus/index中handleClickNavMenu函数没有传进来,请看下

使用**本地json-server**时,**编辑用户**和**创建用户**操作不生效; 需要在访问request方法时,初始化options参数的headers 文件:**services/user.js** export function patch(id, values) { return request(`/api/users/${id}`, { method: 'PATCH', body: JSON.stringify(values), headers: { "Content-Type": "application/json" }, }); } export function create(values) { return request('/api/users', { method:...

- [x] 错误处理 - [x] 动态加载 - [ ] 国际化 - [ ] 增加用例 - [x] theme 配置,[ref](https://github.com/visvadw/dvajs-user-dashboard/commits/master) - [ ] json-server 本地化 - [ ] 同构 - [ ]...