摘要: 一、当前年 moment().format("YYYY") // 字符串 2020 moment().year() / moment().get('year') // 数字 2020 二、当前月 moment().format('MM') // 九月的话,会显示 字符串 09 moment().mo 阅读全文
posted @ 2020-09-27 18:13 ~小晨晨 阅读(1199) 评论(0) 推荐(0) 编辑