From da4d3ca798caed30602ef55ea576d0dbd2674a0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Mon, 3 Jun 2024 14:59:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dreport=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=97=B6=E7=BB=93=E6=9D=9F=E6=97=B6=E9=97=B4=E5=9C=A8?= =?UTF-8?q?=E5=BC=80=E5=A7=8B=E6=97=B6=E9=97=B4=E4=B9=8B=E5=89=8D=E4=BE=9D?= =?UTF-8?q?=E6=97=A7=E5=8F=AF=E4=BB=A5=E4=BF=9D=E5=AD=98=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/rightBox/report/ReportBox.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/rightBox/report/ReportBox.vue b/src/components/rightBox/report/ReportBox.vue index ac866f82..802eceb3 100644 --- a/src/components/rightBox/report/ReportBox.vue +++ b/src/components/rightBox/report/ReportBox.vue @@ -327,6 +327,11 @@ export default { if (startTime.value !== '' && endTime.value <= startTime.value) { validate = false } + if ((proxy.editObject && proxy.editObject.config && proxy.editObject.config.startTime) && !startTime.value) { + if (endTime.value <= proxy.editObject.config.startTime) { + validate = false + } + } return validate } const rules = { // 表单校验规则