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

pull/5457/head
bqy_fe 2022-04-08 10:01:35 +08:00 committed by GitHub
parent 74f77de5d0
commit a41a9b086b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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