xiaogang 3 år sedan
förälder
incheckning
1df2af1279
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/Admin/Actions/Users/UsersInfoForm.php

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

xqd
@@ -45,7 +45,7 @@ class UsersInfoForm extends Form implements LazyRenderable
         $this->model($user_info);
         $this->text('user_id')->value($this->payload['id'])->readOnly();
         $this->text('nickname', '昵称')->value($user_info->nickname);
-        $this->image('avatar', '头像')->value($user_info->avatar);
+        $this->image('avatar', '头像')->url($user_info->avatar);
 
     }
 }