// 日期输入不合法 (纠错) // const dateArray = [startTime,endTime].map( time => time? time.valueOf():moment()).sort(); // 日期输入不合法 (纠错)-end