From 52f6f50dbe38631c0e698a6ea23b3686f6c2a375 Mon Sep 17 00:00:00 2001 From: tjz <415800467@qq.com> Date: Thu, 21 Jun 2018 22:27:48 +0800 Subject: [PATCH] fix: add select focus and blur events --- components/vc-select/Select.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/vc-select/Select.jsx b/components/vc-select/Select.jsx index acd07aaebf..12005a5fd5 100644 --- a/components/vc-select/Select.jsx +++ b/components/vc-select/Select.jsx @@ -1469,10 +1469,12 @@ export default { } this._focused = true this.updateFocusClassName() + this.$emit('focus') }, selectionRefBlur (e) { this._focused = false this.updateFocusClassName() + this.$emit('blur') }, },