mirror of
https://github.com/youzan/vant.git
synced 2026-01-29 01:15:18 +08:00
fix(NumberKeyboard): compatible with Vue 2.6 event bubble bug (#4632)
This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user