From 4ff36fba20ab5237299fa63266817ab8903bb9d8 Mon Sep 17 00:00:00 2001 From: chenqi Date: Fri, 5 Jun 2026 12:22:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(vxe-table):=20=E4=BF=AE=E5=A4=8D=20vxe-tabl?= =?UTF-8?q?e=20=E4=BA=8B=E4=BB=B6=E5=8F=82=E6=95=B0=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E6=80=A7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 VxeTableCompat 组件,改用依赖补丁方式处理事件参数归一化 - 在 patch-deps-plugin 中新增 vxe-table table.js 模块拦截和补丁逻辑 - 通过动态修改 vxe-table 源码实现 cell-click 和 current-change 事件参数标准化 - 修正了 vxe-table 与 el-table 事件参数格式不一致导致的组件交互问题 - 清理了全局组件注册中的兼容层引用 - 优化了事件处理流程,提升组件间通信的一致性 --- .../src/components/VxeTableCompat/index.vue | 57 ++++++--------- openhis-ui-vue3/src/main.js | 3 - .../src/patches/patch-deps-plugin.js | 73 +++++++++++++++---- 3 files changed, 80 insertions(+), 53 deletions(-) diff --git a/openhis-ui-vue3/src/components/VxeTableCompat/index.vue b/openhis-ui-vue3/src/components/VxeTableCompat/index.vue index 0d92b8b04..13ccdfadf 100644 --- a/openhis-ui-vue3/src/components/VxeTableCompat/index.vue +++ b/openhis-ui-vue3/src/components/VxeTableCompat/index.vue @@ -1,18 +1,13 @@