diff --git a/app/admin/service/auth/Node.php b/app/admin/service/auth/Node.php index b2650e8..7d4f690 100644 --- a/app/admin/service/auth/Node.php +++ b/app/admin/service/auth/Node.php @@ -75,7 +75,7 @@ class Node $actionList[] = [ 'node' => $controllerFormat . '/' . $method->name, 'title' => $annotation->title ?? null, - 'is_auth' => $annotation->auth ?? null, + 'is_auth' => $annotation->auth ?? false, 'type' => 2, ]; }