forked from opentiny/tiny-vue
fix(components): [slider] prevent default event when bind keydown event (#1038)
This commit is contained in:
parent
60729f8898
commit
013ac583bf
|
@ -38,6 +38,8 @@ export const bindKeyDown =
|
|||
return
|
||||
}
|
||||
|
||||
event.preventDefault()
|
||||
|
||||
let currentValue = 0
|
||||
|
||||
switch (event.keyCode) {
|
||||
|
|
Loading…
Reference in New Issue