帮助了 AmazingCounters.com 位小伙伴

随笔分类 -  React

上一页 1 2 3 下一页

React一个view 视图 超快的加载速度?
react Link标签 火狐失效怎么解决
摘要:这个问题其实找了好多资料都没有具体的解决方法: 今天突然想到可能是层级嵌套出问题了,刚好有个bug也是关于这个的,已经亲测解决了 代码如下:火狐和谷歌都能正常的跳转 阅读全文

posted @ 2017-07-10 11:26 云的旋律 阅读(302) 评论(0) 推荐(0)

react 点击事件
摘要:Document 阅读全文

posted @ 2017-07-10 09:54 云的旋律 阅读(2194) 评论(0) 推荐(0)

react 常用组件整理
摘要:0.es6语法糖 Demo (ng2语法) 7.select //默认需要传入一个字符串,需要一个不重复的key 1.下拉菜单和单选按钮 2.格式化日期可以在两个位置处理, 第二种,在 3.日期组件:(默认显示当前日期,默认显示当前月的一号) 5.react 下拉选择框动态渲染模式 7.一个重要的标 阅读全文

posted @ 2017-06-27 23:32 云的旋律 阅读(6216) 评论(0) 推荐(0)

react 模板备份
摘要:/** * Created by hldev on 17-6-14. * 上市公司详情展示界面 */ import React, {Component} from "react"; import {Link} from "react-router-dom"; import {inject, observer} from "mobx-react"; import ReactEchar... 阅读全文

posted @ 2017-06-27 20:44 云的旋律 阅读(259) 评论(0) 推荐(0)

react 问题记录二(侧重于state或者说server层操作)
摘要:项目体系说明:react+mobx+antd 11. state设置对象属性 10.loading组件设置 9.模态框弹出时,需要传递参数应该怎么设置? 8.当切换路由后(切换了左侧导航栏后),用户在返回之前查询的结果界面,结果界面还会展示上一次的结果,应该如何处理呢? 7.Input.Search 阅读全文

posted @ 2017-06-26 09:42 云的旋律 阅读(402) 评论(0) 推荐(0)

路由配置文件
该文被密码保护。

posted @ 2017-05-08 11:36 云的旋律 阅读(0) 评论(0) 推荐(0)

关于react中遇到的问题记录说明
摘要:5.el表达式 4.react中自定义完成某个操作后,跳转到列表展示界面 3 If using forceUpdate() is discouraged, how should components react to change events in the model? (2017-05-11) 阅读全文

posted @ 2017-04-24 16:15 云的旋律 阅读(114) 评论(0) 推荐(0)

react return中如何用if
摘要:参考:http://blog.csdn.net/yf275908654/article/details/51078215 阅读全文

posted @ 2017-04-19 15:25 云的旋律 阅读(2007) 评论(0) 推荐(0)

react中 如何异步展示后台接口的提示消息
摘要:先补充点一些其他的知识: 关于axios(以前用的jquer的ajax请求,现在大都推崇axios来代替) 参考地址:http://www.tuicool.com/articles/yINjEb6 项目框架用到的技术组合: 1.react+ant design+react-router+redux( 阅读全文

posted @ 2017-03-30 14:58 云的旋律 阅读(3695) 评论(0) 推荐(0)

antd二级联动异步加载
摘要:效果图展示: 阅读全文

posted @ 2017-03-27 09:39 云的旋律 阅读(986) 评论(0) 推荐(0)

react 组件创建
摘要:/** * 数据屏蔽 * Created by 2016-12-02. */ import React, {Component} from 'react'; export default class DataMaskingMain extends Component { render() { return ( ... 阅读全文

posted @ 2017-02-21 16:30 云的旋律 阅读(150) 评论(0) 推荐(0)

Redux 视频教程
摘要:视频地址:http://www.imooc.com/learn/744 阅读全文

posted @ 2017-02-03 16:57 云的旋律 阅读(591) 评论(0) 推荐(0)

更新机构
摘要:/** * 更新机构 * @param data * @return {function(*=): *} */export function updateOrgStatus(data, status) { return dispatch => requestJSON( dispatch, {meth 阅读全文

posted @ 2016-12-15 16:10 云的旋律 阅读(146) 评论(0) 推荐(0)

react 全局面包屑
摘要:renderBreadcrumb() { const {routes} = this.props; const items = routes.map((route, idx) => { let content = null; if (idx == 0) { content = ... 阅读全文

posted @ 2016-11-24 09:49 云的旋律 阅读(945) 评论(0) 推荐(0)

react ie10下报错
摘要:解决办法: 加 promise polyfill 参考地址:http://hao.jser.com/archive/12066/ 阅读全文

posted @ 2016-11-23 16:47 云的旋律 阅读(393) 评论(0) 推荐(0)

ant design 树形组件怎么使用
摘要:getDefaultProps doesn't work with ES6 syntax; warning is not helpful 解决后: 参考地址:https://github.com/facebook/react-native/issues/1772 阅读全文

posted @ 2016-11-18 16:44 云的旋律 阅读(761) 评论(0) 推荐(0)

Each child in an array or iterator should have a unique "key" prop. Check the render method of `CreditCategoryModal`
摘要:参考地址:http://f00sun.com/category/react 阅读全文

posted @ 2016-11-10 11:39 云的旋律 阅读(2584) 评论(0) 推荐(0)

ant design 自定义表单验证大全
摘要:2017-09-20 <FormItem {...formItemLayout} label="主机名" hasFeedback> {getFieldDecorator('hostName', { rules: [{ required: true, max: 20, message: '请输入主机名 阅读全文

posted @ 2016-11-09 15:30 云的旋律 阅读(17848) 评论(0) 推荐(0)

React组件生命周期过程说明【转】
摘要:原文地址:http://react-china.org/t/react/1740 参考地址:http://www.cnblogs.com/daomul/p/4856101.html 阅读全文

posted @ 2016-11-06 14:06 云的旋律 阅读(170) 评论(0) 推荐(0)

react中的坑
摘要:9. 8.img标签需要闭合 2016-11-16 14:44:40 编译通不过 正确写法:<img /> 7.map()遍历数组操作说明? map:和forEach非常相似,都是用来遍历数组中的每一项值的,用来遍历数组中的每一项; 区别:map的回调函数中支持return返回值;return的是啥 阅读全文

posted @ 2016-10-27 16:34 云的旋律 阅读(348) 评论(0) 推荐(0)

上一页 1 2 3 下一页

导航

前端攻城狮分享群