1.ios时间格式 let startDate = new Date('2018-11-11 09:00:00'); // null 对于yyyy-mm-dd hh:mm:ss 这种格式在苹果手机上无法识别 显示成NAN,或者null 解决: 转成 yyyy/mm/dd hh:mm:ss 正则格式化: replace(/\-/g, "/")