xiaogang há 3 anos atrás
pai
commit
2d65684dc0
1 ficheiros alterados com 6 adições e 6 exclusões
  1. 6 6
      app/Admin/Controllers/UserController.php

+ 6 - 6
app/Admin/Controllers/UserController.php

xqd
@@ -60,13 +60,13 @@ class UserController extends AdminController
         $grid->actions(function (Grid\Displayers\Actions $actions) {
             $actions->disableView();
             $actions->disableEdit();
-//            $actions->append(new SetUserInfo(User::class));
-//            $actions->append(new UserAction(User::class));
-//            $actions->append(new UserChange(User::class));
-////            if ($actions->row->is_auth == 0) {
+            $actions->append(new SetUserInfo(User::class));
+            $actions->append(new UserAction(User::class));
+            $actions->append(new UserChange(User::class));
+//            if ($actions->row->is_auth == 0) {
 //            $actions->append(new UserAuth(User::class));
-////            }
-//            $actions->append(new UserVip(User::class));
+//            }
+            $actions->append(new UserVip(User::class));
         });
 
         //批量操作