elementui的确认框使用十分方便,下面是使用方式
this.$confirm('请求与您通话?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
//确认
}).catch(() => {
//取消
});
精彩链接
评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。
elementui的确认框使用十分方便,下面是使用方式
this.$confirm('请求与您通话?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
//确认
}).catch(() => {
//取消
});
精彩链接
本文由 用户 于 2023-12-06 发布在 夸智网,如有疑问,请联系我们。
本文链接:https://www.kuazhi.com/post/712796039.html
发表评论