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}`;