摘要: 1.日期转时间戳 this.timeChou('2022-10-20') // 输入日期返回时间戳 1666224000000 timeChou(time) { const timeData = new Date(time).getTime() return timeData } 2.时间戳转日期 阅读全文
posted @ 2022-08-18 08:23 Z-HarOld 阅读(1439) 评论(0) 推荐(0) 编辑