const now = moment().format('YYYY-MM-DD HH:mm:ss').replace(/\-/g, '/');
ios中只能new Date(“2016/05/19 08:00”)的格式,new Date(“2016-05-19 08:00”)不兼容
const now = moment().format('YYYY-MM-DD HH:mm:ss').replace(/\-/g, '/');
ios中只能new Date(“2016/05/19 08:00”)的格式,new Date(“2016-05-19 08:00”)不兼容