From cb799bf88a997263fc2cb74524bbc0f03a5e7dc7 Mon Sep 17 00:00:00 2001 From: hooper Date: Mon, 22 Nov 2021 09:13:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dwindows=E4=B8=8B=E5=AF=BC?= =?UTF-8?q?=E5=87=BAexcel=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/catcher/library/excel/Excel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extend/catcher/library/excel/Excel.php b/extend/catcher/library/excel/Excel.php index 6cdef9b..5df63e1 100644 --- a/extend/catcher/library/excel/Excel.php +++ b/extend/catcher/library/excel/Excel.php @@ -260,7 +260,7 @@ protected function local($path) { return \config('filesystem.disks.local')['domain'] . '/' . - str_replace('\\', '/', str_replace(Utils::publicPath(), '', $path)); + str_replace(str_replace('\\', '/',Utils::publicPath()), '', str_replace('\\', '/', $path)); } /** -- Gitee