|
@ -6,6 +6,7 @@ use antgoods\goods\models\ars\Category; |
|
|
use antgoods\goods\models\ars\Brand; |
|
|
use antgoods\goods\models\ars\Brand; |
|
|
use antgoods\goods\models\ars\ShopCategory; |
|
|
use antgoods\goods\models\ars\ShopCategory; |
|
|
use antgoods\goods\models\ars\Supplier; |
|
|
use antgoods\goods\models\ars\Supplier; |
|
|
|
|
|
use yii\helpers\Url; |
|
|
|
|
|
|
|
|
/* @var $this yii\web\View */ |
|
|
/* @var $this yii\web\View */ |
|
|
/* @var $model antgoods\goods\models\ars\Goods */ |
|
|
/* @var $model antgoods\goods\models\ars\Goods */ |
|
@ -78,7 +79,7 @@ use antgoods\goods\models\ars\Supplier; |
|
|
'fillInAttribute' => 'imageId', |
|
|
'fillInAttribute' => 'imageId', |
|
|
'model' => $model, |
|
|
'model' => $model, |
|
|
'previewConfig' => [ |
|
|
'previewConfig' => [ |
|
|
'url' => 'image-file?fileidstr='.$model->imageId, |
|
|
|
|
|
|
|
|
'url' => Url::to(['image-file', 'fileidstr' => $model->imageId]), |
|
|
], |
|
|
], |
|
|
])->label('图片') ?>
|
|
|
])->label('图片') ?>
|
|
|
|
|
|
|
|
|