一、使用时不能用2020-02-15格式,会出现NaN,可以改为2020/02/15
console二、最好不用valueOf(),使用getTime()
code一、使用时不能用2020-02-15格式,会出现NaN,可以改为2020/02/15
console二、最好不用valueOf(),使用getTime()
code本文标题:react-native 内嵌H5页面使用new Date()时
本文链接:https://www.haomeiwen.com/subject/iungfktx.html
网友评论