Skip to content

Commit 8be7ec9

Browse files
committed
fix: pagination keyup enter not work #1316
1 parent b5cd32a commit 8be7ec9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/vc-pagination/Options.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,11 @@ export default {
4949
return;
5050
}
5151
if (e.keyCode === KEYCODE.ENTER || e.type === 'click') {
52+
// https://github.com/vueComponent/ant-design-vue/issues/1316
53+
this.quickGo(this.getValidValue());
5254
this.setState({
5355
goInputText: '',
5456
});
55-
this.quickGo(this.getValidValue());
5657
}
5758
},
5859
},

0 commit comments

Comments
 (0)