Skip to content

Commit

Permalink
fix(textarea-item): delete icon did not appear normally (didi#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
msdlisper authored and xxyan0205 committed Nov 2, 2019
1 parent aa09643 commit bb7ce5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/textarea-item/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,13 @@ export default {
},
focus() {
this.$refs.textarea.focus()
setTimeout(() => {
this.isInputFocus = true
}, 200)
},
blur() {
this.$refs.textarea.blur()
this.isInputFocus = false
},
getValue() {
return this.inputValue
Expand Down

0 comments on commit bb7ce5e

Please sign in to comment.