教程 dayjs tutorial

As Javascript Date

调用 dayjs#toDate 从 Day.js 对象中获取原生的 Date 对象

javascript
dayjs("2019-01-25").toDate();