mirror of https://github.com/ElemeFE/element
[MessageBox] Fix #22610: In the MessageBox, the class of "Confirm" button should not contain two different types
parent
f14b5ba540
commit
c9139b6aca
|
@ -64,6 +64,7 @@
|
|||
<el-button
|
||||
:loading="confirmButtonLoading"
|
||||
ref="confirm"
|
||||
type="primary"
|
||||
:class="[ confirmButtonClasses ]"
|
||||
v-show="showConfirmButton"
|
||||
:round="roundButton"
|
||||
|
@ -140,7 +141,7 @@
|
|||
},
|
||||
|
||||
confirmButtonClasses() {
|
||||
return `el-button--primary ${ this.confirmButtonClass }`;
|
||||
return `${ this.confirmButtonClass }`;
|
||||
},
|
||||
cancelButtonClasses() {
|
||||
return `${ this.cancelButtonClass }`;
|
||||
|
|
Loading…
Reference in New Issue