mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-04 10:58:18 +00:00
fix: 审批导致图片显示错误
This commit is contained in:
parent
65ec3a10bf
commit
ff0fadc0c1
@ -996,7 +996,7 @@ class ApproveController extends AbstractController
|
||||
if ($thumb && file_exists(public_path($thumb))) {
|
||||
$imageSize = getimagesize(public_path($thumb));
|
||||
$data['thumb'] = [
|
||||
'url' => $thumb,
|
||||
'url' => Base::fillUrl($thumb),
|
||||
'width' => $imageSize[0],
|
||||
'height' => $imageSize[1]
|
||||
];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user