moment 得出两个日期的月份差 2019-12-24 本文已影响0人 Asuler moment("2019-05-21").diff(moment("2019-01-01"),'month'); image.png