xiaogang 3 years ago
parent
commit
3fa21d1bea
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Admin/Actions/Users/SetUserInfo.php

+ 2 - 2
app/Admin/Actions/Users/SetUserInfo.php

@@ -58,8 +58,8 @@ class SetUserInfo extends RowAction
 
 
     public function render()
     public function render()
     {
     {
-        $form = UsersInfoForm::make(new UserInfoModel(),['user_id'=>$this->getKey()]);
-        return Modal::make()
+        $form = UsersInfoForm::make(new UserInfoModel(),$this->getKey());
+        return Modal::make(new UserInfoModel())
             ->lg()
             ->lg()
             ->title($this->title)
             ->title($this->title)
             ->body($form)
             ->body($form)