!13 修复windows下导出excel路径错误的bug

Merge pull request !13 from Hooper/master
This commit is contained in:
JaguarJack 2021-11-22 01:33:28 +00:00 committed by Gitee
commit f9b87f10a0

View File

@ -260,7 +260,7 @@ class Excel
{
return \config('filesystem.disks.local')['domain'] . '/' .
str_replace('\\', '/', str_replace(Utils::publicPath(), '', $path));
str_replace(str_replace('\\', '/',Utils::publicPath()), '', str_replace('\\', '/', $path));
}
/**