| xqd
@@ -34,13 +34,7 @@ class UsersInfoForm extends Form implements LazyRenderable
|
|
|
$user_info = UserInfoModel::query()->where('user_id',$this->payload['user_id'])->first();
|
|
|
$this->fill($user_info);
|
|
|
}
|
|
|
-// else{
|
|
|
-// dd(222222);
|
|
|
-// }
|
|
|
|
|
|
-
|
|
|
-// $user_info = UserInfoModel::query()->where('user_id',$this->payload['user_id'])->first();
|
|
|
-// $this->fill($user_info);
|
|
|
$this->text('user_id',"用户ID")->readOnly();
|
|
|
$this->text('nickname', '昵称')->required();
|
|
|
$this->image('avatar', '头像')->disk('oss')->saveFullUrl()->uniqueName()->removable(false);
|