摘要: const date = new Date(); const year = date.getFullYear().toString().padStart(4, "0"); const month = (date.getMonth() + 1).toString().padStart(2, "0"); 阅读全文
posted @ 2024-07-15 20:43 小小仓鼠 阅读(4) 评论(0) 推荐(0) 编辑