xiaogang 3 years ago
parent
commit
6a426a3da4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Admin/Actions/Users/UsersInfoForm.php

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

@@ -34,7 +34,7 @@ class UsersInfoForm extends Form implements LazyRenderable
         $this->fill($user_info);
         $this->fill($user_info);
         $this->text('user_id',"用户ID")->readOnly();
         $this->text('user_id',"用户ID")->readOnly();
         $this->text('nickname', '昵称')->required();
         $this->text('nickname', '昵称')->required();
-        $this->image('avatar', '头像')->saveFullUrl()->uniqueName()->removable(false);
+        $this->image('avatar', '头像')->disk('oss')->saveFullUrl()->uniqueName()->removable(false);
         $this->text('weixin', '微信号');
         $this->text('weixin', '微信号');
         $this->text('birthday', '生日');
         $this->text('birthday', '生日');
         $this->text('height', '身高');
         $this->text('height', '身高');