feat:数据统计自定义增加默认时间

This commit is contained in:
GaoHao
2025-04-10 10:38:39 +08:00
parent 7df5163ee0
commit eb6dffb3d2

View File

@@ -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;