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