2021/10/26 vue-antd框架中的modal弹框如何设置底部按钮

2021/10/26
在a-modal里面加入下面这行代码:

<template slot="footer">
<a-button>关闭</a-button>
</template>

然后你就可以看到底部只有一个写着‘关闭’的按钮。

posted @ 2022-04-02 10:58  叶乘风  阅读(1262)  评论(0编辑  收藏  举报