js转换/Date(........)/

eval('new ' + (datetime.replace(/\//g, '')));

转换后端传过来的时间戳类型时间
posted @ 2024-05-22 11:34  TomZhuG  阅读(22)  评论(0)    收藏  举报