|
|
@ -285,9 +285,13 @@ const Drawer = defineComponent({ |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
const wrapperStyle = computed(() => { |
|
|
|
const wrapperStyle = computed(() => { |
|
|
|
const { zIndex } = props; |
|
|
|
const { zIndex, contentWrapperStyle } = props; |
|
|
|
const val = offsetStyle.value; |
|
|
|
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) => { |
|
|
|
const renderHeader = (prefixCls: string) => { |
|
|
|