<template>
<a-modal
:title="title"
:width="800"
:visible="visible"
:confirmLoading="confirmLoading"
@ok="handleOk"
@cancel="handleCancel"
cancelText="關閉"
wrapClassName="ant-modal-cust-warp"
style="top:5%;height: 85%;overflow-y: hidden">
<a-form :form="form">
</a-form>
<template slot="footer">
<a-button type="primary">取消</a-button>
<a-button type="primary">暫存</a-button>
<a-button type="primary">入庫</a-button>
</template>
</a-modal>
</template>
效果如下
主要是footer屬性