20260718 修复 Explorer 接口列表键值冲突

This commit is contained in:
yuyr 2026-07-18 10:46:25 +08:00
parent c48dc04909
commit e80fba44c3

View File

@ -94,7 +94,7 @@ export default function ApiStatusPage() {
</thead>
<tbody>
{ENDPOINTS.map((endpoint) => (
<tr key={endpoint.path}>
<tr key={`${endpoint.method}:${endpoint.path}`}>
<td>
<span className={`method${endpoint.method === "POST" ? " post" : ""}`}>{endpoint.method}</span>
{endpoint.path}