From beab3cdb25273ac681aa7404d145644a28096a54 Mon Sep 17 00:00:00 2001 From: xindan <2499232802@qq.com> Date: Wed, 13 Oct 2021 12:15:02 +0800 Subject: [PATCH] =?UTF-8?q?excel=E7=B1=BB=E5=9E=8B=E9=BB=98=E8=AE=A47?= =?UTF-8?q?=E6=94=B9=E4=B8=BA5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/base/Excel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extend/base/Excel.php b/extend/base/Excel.php index e096a5bd3..9703caf32 100755 --- a/extend/base/Excel.php +++ b/extend/base/Excel.php @@ -81,7 +81,7 @@ class Excel $this->warap_text = isset($params['warap_text']) ? intval($params['warap_text']) : 1; // excel写入类型 - $this->writer_type = empty($params['writer_type']) ? 'Excel2007' : trim($params['writer_type']); + $this->writer_type = empty($params['writer_type']) ? 'Excel5' : trim($params['writer_type']); // 引入PHPExcel类库 require ROOT.'extend'.DS.'phpexcel'.DS.'PHPExcel.php'; -- GitLab