mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(NumberKeyboard): compatible with Vue 2.6 event bubble bug (#4632)
This commit is contained in:
parent
1c5463150c
commit
9d7fed4834
@ -40,6 +40,9 @@ export default createComponent({
|
||||
|
||||
methods: {
|
||||
onTouchStart(event) {
|
||||
// compatible with Vue 2.6 event bubble bug
|
||||
event.stopPropagation();
|
||||
|
||||
this.touchStart(event);
|
||||
this.active = true;
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user