pull/3841/head
Tuğçe Küçükoğlu 2023-04-05 11:11:17 +03:00
parent 0e55121963
commit 4fb357ab71
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ export default {
return [ return [
'p-button p-component', 'p-button p-component',
{ {
'p-button-icon-only': (this.icon && !this.label) || this.$slots.default, 'p-button-icon-only': this.icon && !this.label,
'p-button-vertical': (this.iconPos === 'top' || this.iconPos === 'bottom') && this.label, 'p-button-vertical': (this.iconPos === 'top' || this.iconPos === 'bottom') && this.label,
'p-disabled': this.$attrs.disabled || this.loading, 'p-disabled': this.$attrs.disabled || this.loading,
'p-button-loading': this.loading, 'p-button-loading': this.loading,