| xqd
@@ -41,11 +41,11 @@ class UsersInfoForm extends Form implements LazyRenderable
|
|
|
|
|
|
public function form()
|
|
|
{
|
|
|
- $user_info = UserInfoModel::query()->where('user_id',$this->payload['id'])->first();
|
|
|
+ //$user_info = UserInfoModel::query()->where('user_id',$this->payload['id'])->first();
|
|
|
//$this->model($user_info);
|
|
|
- $this->text('user_id')->value($this->payload['id'])->readOnly();
|
|
|
- $this->text('nickname', '昵称')->value($user_info->nickname);
|
|
|
- $this->image('avatar', '头像')->url($user_info->avatar);
|
|
|
+ $this->text('user_id');//->value($this->payload['id'])->readOnly();
|
|
|
+ $this->text('nickname', '昵称');//->value($user_info->nickname);
|
|
|
+ $this->image('avatar', '头像');//->url($user_info->avatar);
|
|
|
|
|
|
}
|
|
|
}
|