fix(modal): style prop support string constant (#5449)
parent
74f77de5d0
commit
a41a9b086b
|
@ -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…
Reference in New Issue