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