时间戳转换不兼容ios
格式类似于:‘2020-09-09 23:23:23’
new Date(start_time).getTime(); 这时候安卓和电脑没问题 ios会使NAN
需要将- 转成 /
new Date(start_time.replace(/-/g,'/')).getTime()
原文链接 : https://blog.csdn.net/sea9528/article/details/113523855
不停学习,热爱是源源不断的动力。
格式类似于:‘2020-09-09 23:23:23’
new Date(start_time).getTime(); 这时候安卓和电脑没问题 ios会使NAN
需要将- 转成 /
原文链接 : https://blog.csdn.net/sea9528/article/details/113523855