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)