xiaogang 3 年之前
父節點
當前提交
1df2af1279
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
 
     }
 }