diff --git a/components/vc-align/Align.tsx b/components/vc-align/Align.tsx index 7a3b5c4cf..85173fa13 100644 --- a/components/vc-align/Align.tsx +++ b/components/vc-align/Align.tsx @@ -196,7 +196,7 @@ export default defineComponent({ return () => { const child = slots?.default(); if (child) { - return cloneElement(child[0], { ref: nodeRef }); + return cloneElement(child[0], { ref: nodeRef }, true, true); } return child && child[0]; };