ios端 new Date()兼容性问题 原由: 在ios mui开发中发现new Date(‘2019-12-12’)为null 解决办法: 使用正则把’-‘换成’/’ new Date('2019-12-12'.replace(/-/g,"/"))