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

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

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