Skip to content

Commit a41a9b0

Browse files
authored
fix(modal): style prop support string constant (#5449)
1 parent 74f77de commit a41a9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-dialog/Content.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export default defineComponent({
137137
v-show={visible}
138138
key="dialog-element"
139139
role="document"
140-
style={{ ...contentStyleRef.value, ...(attrs.style as any) }}
140+
style={[contentStyleRef.value, attrs.style]}
141141
class={[prefixCls, attrs.class]}
142142
onMousedown={onMousedown}
143143
onMouseup={onMouseup}

0 commit comments

Comments
 (0)