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

This commit is contained in:
hooper 2021-11-22 09:13:48 +08:00
parent bc4582caf4
commit cb799bf88a

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));
}
/**