From d774fbd5a4077f6b1fc4f6ee9b362d93e51e04bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AE=A1=E5=AE=9C=E5=B0=A7?= Date: Tue, 21 Apr 2020 23:44:28 +0800 Subject: [PATCH] =?UTF-8?q?bugfix=20for=20#86=20excel=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers.php b/app/helpers.php index aaffeb3f..684cf540 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -692,7 +692,7 @@ function convertSqlTo(string $sql, $callback) function processSpreedSheet(string $content): string { if (empty($content)) { - $content = '[]'; + $content = '[{"name":"sheet1","cols":{"len":25},"rows":{"len":100}}]'; } $minRow = config('wizard.spreedsheet.min_rows');