07 2018 档案

摘要:instead of using the Provider component, you can use the withRedux higher order component to inject the store initialization functionality. Basically, 阅读全文
posted @ 2018-07-27 16:41 Nyan 阅读(248) 评论(0) 推荐(0) 编辑
摘要:import {composeWithDeTools} from 'redux-devtools-extension'; const bindMiddleware = middleware => { if(process.env.NODE_DEV !== 'production') { return 阅读全文
posted @ 2018-07-27 14:44 Nyan 阅读(153) 评论(0) 推荐(0) 编辑
摘要:1、获取菜单对象 2、获取实际页面module 3、获取默认路由 4、获取menus menuTree: 集合,里面包含一个nav,一个对应该nav的菜单item [{"nav01": [nav01.menus01]},{"nav02": [nav01.menus02]}]; navigators: 阅读全文
posted @ 2018-07-19 19:23 Nyan 阅读(601) 评论(0) 推荐(0) 编辑
摘要:1、page js 2、style 阅读全文
posted @ 2018-07-19 15:41 Nyan 阅读(359) 评论(0) 推荐(0) 编辑
摘要:1、样式 2、js文件 3、数据 阅读全文
posted @ 2018-07-18 19:54 Nyan 阅读(1209) 评论(0) 推荐(0) 编辑
摘要:1、the simple sample action: 事实上,只是返回个一个至少包含type的对象{ },用于reducer接收。 reducer:对应某个actionType有相应的数据返回 use: 2、Async Action Helpers use: result: 3、More soph 阅读全文
posted @ 2018-07-16 10:27 Nyan 阅读(360) 评论(0) 推荐(0) 编辑

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