import moment from "moment"; export const rangePresets: any = { '今天排行': [moment(), moment()], '昨天排行': [moment().subtract(1, 'd'), moment().subtract(1, 'd')], '7日排行': [moment().subtract(7, 'd'), moment()], '30日排行': [moment().subtract(30, 'd'), moment()] };