会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小儿打破贼
博客园
首页
新随笔
联系
订阅
管理
2016年11月25日
React Tips
摘要: 1.Class切换 (1)在constructor里定义初始状态 相当于开关 给个初始赋值 然后在回调函数中进行切换 constructor(props) { super(props); this.confirm = this.confirm.bind(this); this.state={ bOK
阅读全文
posted @ 2016-11-25 16:38 小儿打破贼
阅读(119)
评论(0)
推荐(0)
公告