<a-drawer
:title="myTitle"
placement="right"
:visible="visible"
@close="onClose"
width="720"
:bodyStyle="{ marginBottom: ‘30px‘ }"
>
</a-drawer>
:bodyStyle="{ marginBottom: ‘30px‘ }"
这个是定义的body样式
drawerStyle 还有用于设置 Drawer 弹出层的样式
headerStyle 用于设置 Drawer 头部的样式
drawerStyle 用于设置 Drawer 弹出层的样式
wrapClassName 对话框外层容器的类名
Ant Design Vue 中Drawer自定头部的样式、内容部分的样式、弹出层的样式
原文:https://www.cnblogs.com/IwishIcould/p/15200658.html