我在数据表中为这样的图像添加一列:
->addColumn('product_brand_logo', function ($product_brand) {
return '<img src="{{ URL::to('upload/image')'.$img->image.'" border="0" width="40" class="img-rounded" align="center" />';
Run Code Online (Sandbox Code Playgroud)
它没有在检查中输出输出
| {{ URL::to('upload/image')imagename.png}}|
Run Code Online (Sandbox Code Playgroud)
使用laravel 5.3,yajra 数据表 6.0