修复windows下导出excel路径错误的bug
This commit is contained in:
parent
bc4582caf4
commit
cb799bf88a
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user