react 把时间戳用new Date改为日期

<p>{new Date(1111123233433).toLocaleString()}</p>

2005/3/18 下午1:20:33

猜你喜欢

转载自www.cnblogs.com/luziluck/p/9327886.html
今日推荐