xiaogang 3 年 前
コミット
3fa21d1bea
1 ファイル変更2 行追加2 行削除
  1. 2 2
      app/Admin/Actions/Users/SetUserInfo.php

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

xqd
@@ -58,8 +58,8 @@ class SetUserInfo extends RowAction
 
     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()
             ->title($this->title)
             ->body($form)