fix(modal): style prop support string constant (#5449)

pull/5457/head
bqy_fe 3 years ago committed by GitHub
parent 74f77de5d0
commit a41a9b086b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -137,7 +137,7 @@ export default defineComponent({
v-show={visible} v-show={visible}
key="dialog-element" key="dialog-element"
role="document" role="document"
style={{ ...contentStyleRef.value, ...(attrs.style as any) }} style={[contentStyleRef.value, attrs.style]}
class={[prefixCls, attrs.class]} class={[prefixCls, attrs.class]}
onMousedown={onMousedown} onMousedown={onMousedown}
onMouseup={onMouseup} onMouseup={onMouseup}

Loading…
Cancel
Save