Ant design 的 a-modal 去除取消按钮,确定按钮,自定义按钮 或 添加多个按钮
<a-modal v-model="visible" title="免责声明" :maskClosable="false" :width= "800" :closable="false" >
<template slot="footer">
<a-button key="submit" type="primary" @click="handleOk">
同意声明
</a-button>
<a-button key="cancel" type="primary" @click="handlecancel">
取消
</a-button>
<a-button key="other" type="primary" @click="handlecancel">
其他的
</a-button>
</template>
<p class="respinner">
免责声明内容
</p>
</a-modal>
使用
<template slot= 'footer"> 就成功啦
去掉全部底部按钮可直接 :footer=null