xiaogang 3 년 전
부모
커밋
2d65684dc0
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  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));
         });
 
         //批量操作