From 4f8096a6a14fb145fe15de3be1f34da095973ef8 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期五, 15 十二月 2023 13:44:50 +0800 Subject: [PATCH] 解决打包问题导致树组件以及弹窗组件内容无法正常显示问题,解决方式为将弹窗或相关底部按钮区域样式drawer-bootom-button修改为drawer-bottom-button --- src/components/jeecg/JVxeTable/components/JVxeSubPopover.vue | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/components/jeecg/JVxeTable/components/JVxeSubPopover.vue b/src/components/jeecg/JVxeTable/components/JVxeSubPopover.vue index 610de07..4e65df3 100644 --- a/src/components/jeecg/JVxeTable/components/JVxeSubPopover.vue +++ b/src/components/jeecg/JVxeTable/components/JVxeSubPopover.vue @@ -71,6 +71,12 @@ let className = target.className || '' className = typeof className === 'string' ? className : className.toString() + // 鑾峰彇 td 鐖剁骇 + let td = getParentNodeByTagName(target, 'td'); + // 鐐瑰嚮鐨勬槸鎷栨嫿鎺掑簭鍒楋紝涓嶅仛澶勭悊 + if (td && td.querySelector('.j-vxe-ds-icons')) { + return + } // 鐐瑰嚮鐨勬槸expand锛屼笉鍋氬鐞� if (className.includes('vxe-table--expand-btn')) { return -- Gitblit v1.9.3