From 8b5f3f027c43840b75e34a30c169b8f16126735d Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Tue, 16 Dec 2025 15:35:26 +0800 Subject: [PATCH] update --- app/Exports/CommonExport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Exports/CommonExport.php b/app/Exports/CommonExport.php index b6297aa..b0c0f4c 100755 --- a/app/Exports/CommonExport.php +++ b/app/Exports/CommonExport.php @@ -402,7 +402,6 @@ class CommonExport implements FromCollection, WithStyles, WithColumnWidths, With $moreFileds = array_column($this->data[0]['data'], 'field'); } } - dd($moreHeader,$moreFileds); $newList[] = $header; foreach ($this->data as $info) { @@ -423,6 +422,7 @@ class CommonExport implements FromCollection, WithStyles, WithColumnWidths, With } $t2 = []; if (empty($clear)) { + dd($info['data']); if (isset($info['data']) && $info['data'] && !empty($moreFileds)) { $dataCollect = collect($info['data']); foreach ($moreFileds as $moreFiled) {