摘要:
React-intl 原文链接:https://segmentfault.com/a/1190000005824920 项目地址: https://github.com/yahoo/react-intl React-intl是雅虎的语言国际化开源项目FormatJS的一部分,通过其提供的组件和API 阅读全文
摘要:
方式一: ES6 方式二: ES5 方式三:函数式 /*无状态的,不能使用this*/ 组件的使用: 阅读全文
摘要:
AMD模块: CommomJS模块: ES6模块: 阅读全文
摘要:
date: this.getDate(0),effectivityDate: this.getDate(60), getDate (AddDayCount) { let date = new Date() date.setDate(date.getDate() + AddDayCount)// 获取AddDayCount天后的日期 let y = ... 阅读全文
摘要:
git fetch --allgit reset --hard origin/master 阅读全文