js时间戳转时间,显示 invalid date 117急急急 2023-05-26 117 阅读1分钟 从后台请求回来的时间戳,通过方法回显到页面,显示 invalid date,是因为时间戳是String类型,转成Number类型在转成时间就好了