UNPKG

beansflight-json-form

Version:

> **版本号:verison 0.23.17**

15 lines (13 loc) 345 B
const datePickerRange = { data() { return { yesterdayMixin: ['', ''] } }, created() { const yesterday = new Date(new Date().setDate(new Date().getDate() - 1)) const currentday = new Date(new Date().setDate(new Date().getDate())) this.yesterdayMixin = [yesterday, currentday] } } export default datePickerRange