使用 :wrapStyle="{ top: '20px' }" 替代
项目代码如下:
<a-modal
:title="title"
:width="width"
:visible="visible"
:wrapStyle="{ overflow: 'hidden', top: '-60px' }"
:destroyOnClose="destroyOnClose"
switchFullscreen
@cancel="handleCancel"
cancelText="关闭">