摘要: // 使用es6的padStart()方法来补0 getYMDHMS (timestamp) { let time = new Date(timestamp) let year = time.getFullYear() const month = (time.getMonth() + 1).toSt 阅读全文
posted @ 2021-05-17 22:53 abcdefgab 阅读(279) 评论(0) 推荐(0)