Jelajahi Sumber

解决用户角色选择异常

gorden 2 bulan lalu
induk
melakukan
e72b182160
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/admin/service/sys_manage/RoleService.php

+ 1 - 1
app/admin/service/sys_manage/RoleService.php

@@ -33,7 +33,7 @@ class RoleService
                 $query->where('role_status', $roleStatus);
             })
             ->orderBy('role_addtimes', 'DESC')
-            ->forPage($page, $pageSize)
+//            ->forPage($page, $pageSize)
             ->get()
             ->toArray();
         $total = SysRole::when($keyword != '', function ($query) use ($keyword) {