js ie下 new Date()带参数不兼容的问题

//时间转为时间格式
var mills = new Date(Date.parse(currentTime.replace(/-/g,"/"))).getTime();//获得毫秒数
var nowDate = new Date(mills);

猜你喜欢

转载自blog.csdn.net/guorun18/article/details/73129427