会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小幸福_h
文章内容若涉及侵权、不适反应,可联系作者
博客园
首页
新随笔
联系
管理
订阅
2020年7月21日
ES6+react.js 中定义公共方法、常量
摘要: 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)
编辑
公告