摘要: 写一个过滤器 getTime(item) { const date = new Date( //这一步是根据我后端返回的时间格式处理的,可选用 item.replace(/\-/g, "/").substring(0, item.indexOf(".")) ); const Y = date.get 阅读全文
posted @ 2020-07-01 11:49 金陵彭于晏 阅读(187) 评论(0) 推荐(0) 编辑