vue ios 解析失败

  {{new Date(+new Date(data.recogTime)+8*3600*1000).toISOString().replace(/T/g,' ').replace(/\.[\d]{3}Z/,'')}}

上面这个代码,ios解析会失败。直接堵塞了我的整个页面
根本原因 ios 不能解析时间中带 “-”

posted @ 2019-11-20 15:21  huangbohang  阅读(270)  评论(0编辑  收藏  举报