From 6245c7123c5359c7b312f925bd4d91c89dc70dda Mon Sep 17 00:00:00 2001 From: Nixevol Date: Tue, 19 May 2026 15:18:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E9=80=89=E6=8B=A9=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/project_context.md | 6 ++++++ frontend/src/AppShell.vue | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/project_context.md b/docs/project_context.md index 52c706c..05e8802 100644 --- a/docs/project_context.md +++ b/docs/project_context.md @@ -1,5 +1,11 @@ # 项目上下文记录 +## 2026-05-19:修复数据管理导出下拉选择不触发弹窗 + +- `frontend/src/AppShell.vue` 将页头下拉动作从模板事件表达式 `@select` 改为 `:on-select` 回调属性,确保 Naive UI 下拉菜单选择 CSV/XLSX 后会真正执行页面动作。 +- 修复数据管理页点击“导出”下拉项后 CSV/XLSX 表选择弹窗不显示的问题。 +- 已执行 `npm run build`,构建通过;构建只保留 Vite 原有大 chunk 提示。 + ## 2026-05-19:优化数据管理导出入口和弹窗宽度 - `frontend/src/composables/pageHeader.ts` 和 `frontend/src/AppShell.vue` 为页面顶部动作支持 Naive UI 下拉菜单,按钮内显示下拉箭头。 diff --git a/frontend/src/AppShell.vue b/frontend/src/AppShell.vue index 1008e46..8c957c1 100644 --- a/frontend/src/AppShell.vue +++ b/frontend/src/AppShell.vue @@ -47,7 +47,7 @@ trigger="click" :options="actionDropdownOptions(action)" :disabled="actionDisabled(action)" - @select="runHeaderActionSelect(action)" + :on-select="runHeaderActionSelect(action)" >