1.文本框标签 input ,使用onkeyup监控输入的值时无法监控的中文,兼容方法:换成oninput事件
2.new Date("2019-8-24 12:20:35") 这种情况在android中式正常的,在IOS中是无效的,兼容方法,判断当前平台为IOS时,改成new Date("2019/8/24 12:20:35")
1.文本框标签 input ,使用onkeyup监控输入的值时无法监控的中文,兼容方法:换成oninput事件
2.new Date("2019-8-24 12:20:35") 这种情况在android中式正常的,在IOS中是无效的,兼容方法,判断当前平台为IOS时,改成new Date("2019/8/24 12:20:35")