fix: add select focus and blur events

pull/165/head
tjz 2018-06-21 22:27:48 +08:00
parent be90aa925b
commit 2a31e08d8b
1 changed files with 2 additions and 0 deletions

View File

@ -1469,10 +1469,12 @@ export default {
} }
this._focused = true this._focused = true
this.updateFocusClassName() this.updateFocusClassName()
this.$emit('focus')
}, },
selectionRefBlur (e) { selectionRefBlur (e) {
this._focused = false this._focused = false
this.updateFocusClassName() this.updateFocusClassName()
this.$emit('blur')
}, },
}, },