fix(drawer): wrapper style pass to drawer content (#6983)
parent
21d85ea82c
commit
664711373c
|
@ -285,9 +285,13 @@ const Drawer = defineComponent({
|
|||
});
|
||||
|
||||
const wrapperStyle = computed(() => {
|
||||
const { zIndex } = props;
|
||||
const { zIndex, contentWrapperStyle } = props;
|
||||
const val = offsetStyle.value;
|
||||
return [{ zIndex, transform: sPush.value ? pushTransform.value : undefined }, val];
|
||||
return [
|
||||
{ zIndex, transform: sPush.value ? pushTransform.value : undefined },
|
||||
{ ...contentWrapperStyle },
|
||||
val,
|
||||
];
|
||||
});
|
||||
|
||||
const renderHeader = (prefixCls: string) => {
|
||||
|
|
Loading…
Reference in New Issue