Browse Source

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

pull/5457/head
bqy_fe 3 years ago committed by GitHub
parent
commit
a41a9b086b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/vc-dialog/Content.tsx

2
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}

Loading…
Cancel
Save