fix: cascader input space bug (#1431)

pull/1439/head
zkwolf 2019-11-19 16:21:19 +08:00 committed by tangjinzhou
parent 4fa8055933
commit d52ed02a18
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ const Cascader = {
},
handleKeyDown(e) {
if (e.keyCode === KeyCode.BACKSPACE) {
if (e.keyCode === KeyCode.BACKSPACE || e.keyCode === KeyCode.SPACE) {
e.stopPropagation();
}
},