From ef9c03e3011327108ad9586fa9b5103d71d73683 Mon Sep 17 00:00:00 2001 From: jingwenzheng Date: Fri, 5 Jan 2024 18:42:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=20=E5=8F=AF=E9=87=8D?= =?UTF-8?q?=E5=86=99=20class?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../layout/src/components/SidePage/index.tsx | 33 ++----------------- 1 file changed, 2 insertions(+), 31 deletions(-) diff --git a/packages/layout/src/components/SidePage/index.tsx b/packages/layout/src/components/SidePage/index.tsx index d21b6e9..b2d1342 100644 --- a/packages/layout/src/components/SidePage/index.tsx +++ b/packages/layout/src/components/SidePage/index.tsx @@ -189,30 +189,6 @@ const Component = defineComponent({ props: { /** 点击背景视图 */ onClickBack: Function as PropType<() => void>, - /** - * 重写 body class ,例如 bottom css 为 - * - * ```css - .body{ - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100vw; - height: 100vh; - - display: flex; - flex-direction: column; - justify-content: flex-end; - } - ``` - */ - overrideBodyClassName: String, - /** - * 覆盖的 back class name - */ - overrideBackClassName: String, /** * 重写 出现动画方法 */ @@ -254,13 +230,8 @@ const Component = defineComponent({ useTransitionLeave(getLeaveAnime()) return () => ( -
-
+
+
{cloneSlot(slots.default, { class: styles.main })}
)