|
@ -63,7 +63,7 @@ class GoodsSearch extends Goods |
|
|
'width'=>'10%', |
|
|
'width'=>'10%', |
|
|
'format' => 'raw', |
|
|
'format' => 'raw', |
|
|
'value' => function ($model) { |
|
|
'value' => function ($model) { |
|
|
return $model->image ? |
|
|
|
|
|
|
|
|
return $model->imageFile ? |
|
|
Html::img(['/'.$model->imageFile->path], ['style' => 'width:80px']) |
|
|
Html::img(['/'.$model->imageFile->path], ['style' => 'width:80px']) |
|
|
: '<div class="table_not_setting">未设置</div>'; |
|
|
: '<div class="table_not_setting">未设置</div>'; |
|
|
|
|
|
|
|
|