文章目录

前言具体操作总结

前言

elementUI中的 "this.$confirm" 基本用法,"this.$confirm" 调换 "确认"、"取消" 按钮的位置

具体操作

基本用法

将确认与取消进行交换位置,添加css样式

CSS代码:

.el-message-box__btns {

display: flex;

flex-direction: row-reverse;

}

.custom-cancel-button {

margin-left: 10px;

}

总结

elementUI中的 "this.$confirm" 基本用法,"this.$confirm" 调换 "确认"、"取消" 按钮的位置,添加一个类和css代码

文章来源

评论可见,请评论后查看内容,谢谢!!!
 您阅读本篇文章共花了: