|
|
|
@ -73,7 +73,7 @@ class GoodsImageForm extends Form implements LazyRenderable |
|
|
|
|
|
|
|
$this->hidden('goods_id')->value($id); |
|
|
|
$this->display('name','商品名称')->value($goodName); |
|
|
|
$this->image('cover_img','封面图')->uniqueName()->customFormat(function() use($coverImg){ |
|
|
|
$this->image('cover_img','封面图')->uniqueName()->retainable()->customFormat(function() use($coverImg){ |
|
|
|
return [$coverImg]; |
|
|
|
})->autoUpload(); |
|
|
|
$this->multipleImage('img_banner','轮播图')->uniqueName()->customFormat(function() use($id){ |
|
|
|
|