diff --git a/catch/system/route.php b/catch/system/route.php index 2cc4d6c..298cd97 100644 --- a/catch/system/route.php +++ b/catch/system/route.php @@ -52,7 +52,7 @@ $router->group(function () use ($router) { // 获取 table $router->get('table//', function ($module, $tableClass){ - $table = sprintf('\\catchAdmin\\%s\\tables\\%s', $module, $tableClass); + $table = sprintf('\\catchAdmin\\%s\\tables\\%s', $module, ucfirst($tableClass)); return (new $table)->render(request()->param('only')); });