IE下时间new Date参数的时间格式不能是"-" 于是这样处理了 nowTime = nowTime.replace(/-/g, "/"); IE下不支持ES6新语法 于是一个个手动去改,按理说现代工程的项目都有babel-polyfill不至于