fix: add textarea autofocus
parent
3cff62997d
commit
7879279123
|
@ -55,7 +55,12 @@ export default {
|
|||
},
|
||||
},
|
||||
mounted () {
|
||||
this.resizeTextarea()
|
||||
this.$nextTick(() => {
|
||||
this.resizeTextarea()
|
||||
if (this.autoFocus) {
|
||||
this.focus()
|
||||
}
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
handleKeyDown (e) {
|
||||
|
|
Loading…
Reference in New Issue