diff --git a/docs/project_context.md b/docs/project_context.md index c9905d0..7fa9bc6 100644 --- a/docs/project_context.md +++ b/docs/project_context.md @@ -587,3 +587,9 @@ - The per-row operation dropdown now keeps edit, enable/disable, regenerate, and delete actions; copying is surfaced beside the Token value for faster repeated use. - Build verification: `npm run build` passed with only the existing Vite large chunk warning. - Follow-up UI adjustment: the eye/copy buttons now sit immediately after the Token text instead of being pushed to the far right, and Token rows show `created_at` in the metadata area. + +## 2026-06-01: API documentation toolbar cleanup + +- `frontend/src/components/ApiDocs.vue` no longer registers a page-header `copy sample` action, avoiding duplicate `复制传参示例` buttons on the API documentation page. +- The API documentation card still keeps its local toolbar actions: `复制传参示例` and `OpenAPI JSON`. +- Verification performed: `npm run build` passed, and generated frontend build output was removed after verification. diff --git a/frontend/src/components/ApiDocs.vue b/frontend/src/components/ApiDocs.vue index 9a15641..6aa22de 100644 --- a/frontend/src/components/ApiDocs.vue +++ b/frontend/src/components/ApiDocs.vue @@ -20,13 +20,12 @@