Input: not display clear icon in disabled form (#13208)

pull/13210/head
hetech 2018-10-29 15:52:45 +08:00 committed by GitHub
parent 87baaad394
commit 7daa72be04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@
},
showClear() {
return this.clearable &&
!this.disabled &&
!this.inputDisabled &&
!this.readonly &&
this.currentValue !== '' &&
(this.focused || this.hovering);