if the, element message box is on the right and canceled on the left, what can I do to make sure that the confirmation is on the left and the cancellation is on the right?
Code:
<template>
<el-button type="text" @click="open"> Message Box</el-button>
</template>
<script>
export default {
methods: {
open() {
this.$alert("", "", {
confirmButtonText: "",
callback: action => {
this.$message({
type: "info",
message: `action: ${ action }`
});
}
});
}
}
}
</script>
effect:
I tried to change the location of confirmation and cancellation, and then change the style, but make sure that there is an extra class that can be displayed in blue, and there is no way to change the cancellation without the extra class,.