dva-example-user-dashboard
dva-example-user-dashboard copied to clipboard
👲 👬 👨👩👧 👨👩👦👦
![qq 20180129143433](https://user-images.githubusercontent.com/8915703/35496653-ead7ab60-0501-11e8-8b41-db78f4fa6a24.jpg)
I tried to clone the repo directly and run "npm install" , then I got this error. My node version is 8.9. 1 ![wechatimg158](https://user-images.githubusercontent.com/16200288/34076520-ec9d1bfa-e324-11e7-957a-cfad5f3b3b6d.jpeg) Then I tried yarn install, it...
I want to modify special style, such as row padding of module Table body in .css or .scss. Do I need to import something? My code: .ant-table-tbody > tr >...
跑步起来
`Failed to start the server, since you have enabled dllPlugin, but have not run `roadhog buildDll` before `roadhog server`.`
Cannot read property 'call' of undefined
`我还按按照例子上做的,不知道是不是版本的问题,首先是路由要改,然后遇到了这个问题 ![123](https://user-images.githubusercontent.com/13444993/30144776-e0a81552-93bf-11e7-901b-1978f29a631e.png) 我下载例子看了,返回的query如果没点分页是空对象,但是我自己的是undefined。
在请求的时候加上headers,这个贴出patch的代码,本人测试有效。 export function patch(id, values) { return request(`/api/users/${id}`, { method: 'PATCH', headers: { 'Content-Type': 'application/json', 'Accept': 'application/json', // 'Access-Token': sessionStorage.getItem('access_token') || '' }, body: JSON.stringify(values), });
本地字体问题
请问: 如果要用本地字体文件,应该放在“public”还是“src/assets”目录下? .roadhogrc: { "theme": { "@icon-url": "'/assets/fonts/iconfont/iconfont'" } } roadhog配置信息是这么写么?
子路由如何配置呢
``` const routes = [ { path: '/', component: App, breadcrumbName: '首页', getIndexRoute(nextState, cb) { require.ensure([], require => { cb(null, {component: require('./routes/indexPage')}) }, 'index') }, childRoutes: [ { path: '/user',...