当在ios环境下 使用 new Date("yyyy-MM-dd").getTime() 出现NaN的情况只需要把"-" 换成"/"即可,如下 new Date("yyyy/MM/dd").getTime()