From dfcd7292930616dfa36207cd23ebbb7a99813178 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周二, 20 5月 2025 18:14:03 +0800
Subject: [PATCH] //将抽屉强制挂载到 body 元素上,确保样式隔离和滚动行为正常,不受嵌套页面的影响

---
 CommonDLL/公共前端组件/src/components/BaseQueryDrawer/BaseQueryDrawer.tsx |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git "a/CommonDLL/\345\205\254\345\205\261\345\211\215\347\253\257\347\273\204\344\273\266/src/components/BaseQueryDrawer/BaseQueryDrawer.tsx" "b/CommonDLL/\345\205\254\345\205\261\345\211\215\347\253\257\347\273\204\344\273\266/src/components/BaseQueryDrawer/BaseQueryDrawer.tsx"
index 9d144bb..9c82177 100644
--- "a/CommonDLL/\345\205\254\345\205\261\345\211\215\347\253\257\347\273\204\344\273\266/src/components/BaseQueryDrawer/BaseQueryDrawer.tsx"
+++ "b/CommonDLL/\345\205\254\345\205\261\345\211\215\347\253\257\347\273\204\344\273\266/src/components/BaseQueryDrawer/BaseQueryDrawer.tsx"
@@ -6,7 +6,7 @@
   [key: string]: any
 }>({
   // @ts-ignore
-  name: 'BaseDrawer',
+  name: 'BaseQueryDrawer',
   props: {
     // 閬僵鏄惁鍙偣鍑�
     clickable: {
@@ -49,6 +49,8 @@
         >
           <el-drawer
             // modal-class={props.clickable ? styles.modal : ''}
+            //灏嗘娊灞夊己鍒舵寕杞藉埌 body 鍏冪礌涓婏紝纭繚鏍峰紡闅旂鍜屾粴鍔ㄨ涓烘甯革紝涓嶅彈宓屽椤甸潰鐨勫奖鍝�
+            append-to-body="true" 
             class={{
               [styles.informationDrawer]: true,
               // [styles.informationDrawerPosition]: props.clickable,

--
Gitblit v1.9.3