From 48f979497e01f98924f8b977b2aeca2eca5ad4d4 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Fri, 30 Jan 2026 16:26:39 +0800 Subject: [PATCH] =?UTF-8?q?refactor(workflow):=20=E9=87=8D=E6=9E=84?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=93=8D=E4=BD=9C=E6=8C=89=E9=92=AE=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=BB=A5=E4=BD=BF=E7=94=A8=20Dropdown=20=E7=9A=84=20m?= =?UTF-8?q?enu=20=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将手动构建的 Menu 和 MenuItem 组件替换为 Dropdown 的 items 属性和 menu-click 事件,简化模板结构并提升可维护性。同时统一按钮的 variant 和 color 属性以符合新的 Ant Design Vue 规范。 --- .../components/actions/flow-actions.vue | 122 +++++++++++------- 1 file changed, 74 insertions(+), 48 deletions(-) diff --git a/apps/web-antd/src/views/workflow/components/actions/flow-actions.vue b/apps/web-antd/src/views/workflow/components/actions/flow-actions.vue index 4879fa03..d7f6c43b 100644 --- a/apps/web-antd/src/views/workflow/components/actions/flow-actions.vue +++ b/apps/web-antd/src/views/workflow/components/actions/flow-actions.vue @@ -1,4 +1,6 @@