mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(NumberKeyboard): shouldn't trigger blur event when hidden (#5110)
This commit is contained in:
parent
a6490ed7f5
commit
f525abbf11
@ -105,7 +105,7 @@ export default createComponent({
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
onBlur() {
|
onBlur() {
|
||||||
this.$emit('blur');
|
this.show && this.$emit('blur');
|
||||||
},
|
},
|
||||||
|
|
||||||
onClose() {
|
onClose() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user