feat:数据统计自定义增加默认时间
This commit is contained in:
parent
7df5163ee0
commit
eb6dffb3d2
|
|
@ -549,7 +549,9 @@ export default {
|
|||
break;
|
||||
case "custom":
|
||||
// 自定义
|
||||
this.query.createdAt = [];
|
||||
this.query.createdAt = [
|
||||
dayjs().add(-30, "d").format(format[0]),
|
||||
dayjs().format(format[1]),];
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue