|
@ -77,7 +77,7 @@ $this->params['breadcrumbs'][] = $this->title; |
|
|
['attribute' => 'image', |
|
|
['attribute' => 'image', |
|
|
'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>'; |
|
|
|
|
|
|
|
|