摘要: ES6+react.js 中定义公共方法、常量 1、公共方法 1.1 constantFunction.js 文件(不用写class域中) // 解析时间 将时间戳变成可读的string const parseTime = (text)=>{ if(!!text && typeOf(text) 'n 阅读全文
posted @ 2020-07-21 18:21 小幸福_h 阅读(3108) 评论(0) 推荐(1) 编辑