04 2018 档案

摘要:store: rootReducer: counterReducer: actionType: export const INCREMENT = 'INCREMENT';export const DECREMENT = 'DECREMENT'; Counter: counterAction: use 阅读全文
posted @ 2018-04-16 14:35 Nyan 阅读(339) 评论(0) 推荐(0) 编辑
摘要:this.detail(item)} overlay={( this.handleClick(e, item)}> menu1 menu2 menu3 )}>mainButton detail(item) { this.props.history.repla... 阅读全文
posted @ 2018-04-12 16:52 Nyan 阅读(462) 评论(0) 推荐(0) 编辑
摘要:使用: 阅读全文
posted @ 2018-04-11 20:43 Nyan 阅读(472) 评论(0) 推荐(0) 编辑
摘要:使用redux: update privateRoute: 阅读全文
posted @ 2018-04-11 11:33 Nyan 阅读(2257) 评论(0) 推荐(0) 编辑
摘要:update: 通用请求服务: 阅读全文
posted @ 2018-04-10 14:53 Nyan 阅读(5081) 评论(0) 推荐(0) 编辑
摘要:根据登录与否进入自定义路由 只能判断根路由,子路由不受影响需做另外设置 阅读全文
posted @ 2018-04-09 14:37 Nyan 阅读(12317) 评论(0) 推荐(0) 编辑
摘要:import React from 'react'; import {Link, withRouter} from 'react-router-dom'; import {Layout, Menu, Icon} from 'antd'; const {SubMenu} = Menu; const {Sider} = Layout; class SideBar extends React.Com... 阅读全文
posted @ 2018-04-04 16:29 Nyan 阅读(842) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示