From 2c8ec6293bdf91eefe99237bca88b3499830efc7 Mon Sep 17 00:00:00 2001 From: Tyh2001 <1469442737@qq.com> Date: Tue, 12 Dec 2023 13:52:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fighting-design/_hooks/use-transition/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fighting-design/_hooks/use-transition/index.ts b/packages/fighting-design/_hooks/use-transition/index.ts index f3cd9dd2ff..8117041b39 100644 --- a/packages/fighting-design/_hooks/use-transition/index.ts +++ b/packages/fighting-design/_hooks/use-transition/index.ts @@ -46,7 +46,7 @@ export const useTransition = (prop: IseTransitionProp): IseTransitionReturn => { * @param { Object } node 元素节点 */ const handleOpen = (node: Element): void => { - /** 开启状态隐藏滚动条 */ + // 开启状态隐藏滚动条 document.body.style.overflow = 'hidden' run(prop.onOpen, node) }