mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
fix(drawer): body-style not working
This commit is contained in:
parent
f1b23a2a6b
commit
5bc3fefe91
@ -22,7 +22,7 @@
|
||||
</transition>
|
||||
<n-drawer-body-wrapper
|
||||
:placement="placement"
|
||||
:body-style="compitableBodyStyle"
|
||||
:body-style="mergedBodyStyle"
|
||||
:body-class="compitableBodyClass"
|
||||
:scrollbar-props="scrollbarProps"
|
||||
:show="show"
|
||||
@ -190,11 +190,11 @@ export default {
|
||||
if (height === null) return null
|
||||
return formatLength(height)
|
||||
},
|
||||
mergedBodyWrapperStyle () {
|
||||
mergedBodyStyle () {
|
||||
return {
|
||||
width: this.styleWidth,
|
||||
height: this.styleHeight,
|
||||
...this.bodyWrapperStyle
|
||||
...this.compitableBodyStyle
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user