xiaogang 4 lat temu
rodzic
commit
59ab40819b
1 zmienionych plików z 5 dodań i 5 usunięć
  1. 5 5
      app/Admin/Actions/Users/UsersInfoForm.php

+ 5 - 5
app/Admin/Actions/Users/UsersInfoForm.php

xqd
@@ -30,11 +30,11 @@ class UsersInfoForm extends Form implements LazyRenderable
 
     public function form()
     {
-//        if(request()->ajax()){
-//            dd(1111);
-//        }else{
-//            dd(222222);
-//        }
+        if(request()->ajax()){
+            dd(1111);
+        }else{
+            dd(222222);
+        }
 
 
         $user_info = UserInfoModel::query()->where('user_id',$this->payload['user_id'])->first();