xiaogang 3 năm trước cách đây
mục cha
commit
3fa21d1bea
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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)