NestJS transform 会将缺失的 query 参数转为 NaN, 而 NaN ?? 1 仍然是 NaN。改用 Number(page) || 1 确保默认值生效。 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| api-gateway | ||
| infrastructure | ||
| mpc-system | ||
| scripts | ||
| services | ||
| .env.windows | ||
| docker-compose.windows.yml | ||