时间比较大小值,在安卓手机上能获正常值,但在苹果手机上,总是获false,为何?
let todaytime = new Date()
let permittime = new Date("2020-04-24 09:00:00")
if ((todaytime < permittime)) { //安卓手机上能获正常值,但在苹果手机上,小程序在发布后不管todaytime如何变化,此句值总是false,为何?
console.log('系统提示目前尚未到儿童体检预约时间!')
}