xiaogang 3 éve
szülő
commit
9fbdddd37a
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/Admin/Actions/Users/UsersInfoForm.php

+ 1 - 1
app/Admin/Actions/Users/UsersInfoForm.php

xqd
@@ -50,7 +50,7 @@ class UsersInfoForm extends Form implements LazyRenderable
         $this->text('hobby', '兴趣爱好')->help("多个字段用,隔开,例如:唱歌,跳舞");
         $this->text('drink', '喝酒');
         $this->text('smoke', '抽烟');
-        $this->array('photo', function ($form) {
+        $this->array('photo', function (Form $form) {
             $form->image('url','图片')->saveFullUrl()->uniqueName()->removable(false);
             $form->radio('state','阅后即焚')->options([0=>"否",1=>"是"])->default(0);
         })->saveAsJson()->label('相册');