xiaogang 3 سال پیش
والد
کامیت
9a9f89cee7
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Admin/Actions/Users/SetUserInfo.php

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

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