diff --git a/components/vc-dialog/Content.tsx b/components/vc-dialog/Content.tsx index 412ce56f3..c0789e5b7 100644 --- a/components/vc-dialog/Content.tsx +++ b/components/vc-dialog/Content.tsx @@ -137,7 +137,7 @@ export default defineComponent({ v-show={visible} key="dialog-element" role="document" - style={{ ...contentStyleRef.value, ...(attrs.style as any) }} + style={[contentStyleRef.value, attrs.style]} class={[prefixCls, attrs.class]} onMousedown={onMousedown} onMouseup={onMouseup}