From b8220bb4a33f0c7ccd337f02dd0f03cb29ca2a42 Mon Sep 17 00:00:00 2001 From: ajuner <106791576@qq.com> Date: Tue, 28 Sep 2021 16:16:15 +0800 Subject: [PATCH] fix: remove transitionStr --- components/vc-drawer/src/DrawerChild.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/vc-drawer/src/DrawerChild.tsx b/components/vc-drawer/src/DrawerChild.tsx index 18e2e96ea..c690a3229 100644 --- a/components/vc-drawer/src/DrawerChild.tsx +++ b/components/vc-drawer/src/DrawerChild.tsx @@ -16,7 +16,6 @@ import { removeEventListener, transformArguments, transitionEndFun, - transitionStr, windowIsUndefined, } from './utils'; @@ -360,9 +359,6 @@ const DrawerChild = defineComponent({ const remScrollingEffect = (right: number) => { const { placement, duration, ease } = props; - if (transitionStr) { - document.body.style.overflowX = 'hidden'; - } state.dom.style.transition = 'none'; let heightTransition: string; let widthTransition = `width ${duration} ${ease}`;