Browse Source

Merge branch 'goods_copy_bug_1106'

master
liangyuyan 5 years ago
parent
commit
abc4a35644
  1. 2
      app/Admin/Forms/v3/GoodsImageForm.php

2
app/Admin/Forms/v3/GoodsImageForm.php

@ -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){

Loading…
Cancel
Save