the image when i run without domPDF will come out, but if i use domPDF its say like this
这是我的html代码
<img src="{{public_path('assets/img/logoprov.png')}}" height="100" width="100">
<img src="{{public_path('img/logoprov.png')}}" height="100" width="100">
<img src="{{asset('img/logoprov.png')}}" height="100" width="100">
这是我的控制器代码
$surat = Surat::find($id);
view()->share('surat',$surat);
$pdf = PDF::loadView('sekretariat.pdf.index',compact('surat'));
return $pdf->download('pdf_file.pdf');