From 73845cfd0525823e4d9510e3f1b2a8779e158355 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Thu, 18 Jun 2026 17:28:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=962?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Imports/EventCalendarImport.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Imports/EventCalendarImport.php b/app/Imports/EventCalendarImport.php index 85e20b7..24f85e7 100644 --- a/app/Imports/EventCalendarImport.php +++ b/app/Imports/EventCalendarImport.php @@ -38,6 +38,9 @@ class EventCalendarImport implements ToModel $start_time = $row[3] ?? ''; $end_date = $row[4] ?? ''; $end_time = $row[5] ?? ''; + if (empty($row[1]) && empty($row[2]) && empty($row[3]) && empty($row[4]) && empty($row[5])) { + return; + } if (empty($pattern_name)) { $this->error[] = imports_error($this->index, 'import3'); return;