fix: modal esc not work

pull/5147/head
tangjinzhou 2022-01-07 21:41:00 +08:00
parent 8013592e82
commit 3297f7aa58
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ export default defineComponent({
/>
<div
tabIndex={-1}
onKeyDown={onWrapperKeyDown}
onKeydown={onWrapperKeyDown}
class={classNames(`${prefixCls}-wrap`, wrapClassName)}
ref={wrapperRef}
onClick={onWrapperClick}