diff --git a/src/views/data/index.vue b/src/views/data/index.vue index 22f3c35..67f15c7 100644 --- a/src/views/data/index.vue +++ b/src/views/data/index.vue @@ -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;