helper.js 338 B

123456789101112
  1. import { dateUtil } from './utils/index'
  2. export function calcTargetYMInfo() {
  3. return {
  4. right: dateUtil.getPrevMonthInfo,
  5. left: dateUtil.getNextMonthInfo,
  6. prev_month: dateUtil.getPrevMonthInfo,
  7. next_month: dateUtil.getNextMonthInfo,
  8. prev_year: dateUtil.getPrevYearInfo,
  9. next_year: dateUtil.getNextYearInfo
  10. }
  11. }