摘要: //返回时间戳;str 为空则返回当前时间戳;typeof x time: function(str) { if (typeof str == 'string') { str = str.replace(/-/g,'/');// IE需要的日期格式:2018/12/31 否则返回NAN } var 阅读全文
posted @ 2018-09-08 10:53 土豆不豆 阅读(171) 评论(0) 推荐(0) 编辑