fix: pagination keyup enter not work #1316
parent
b5cd32aa1a
commit
8be7ec96a2
|
@ -49,10 +49,11 @@ export default {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (e.keyCode === KEYCODE.ENTER || e.type === 'click') {
|
if (e.keyCode === KEYCODE.ENTER || e.type === 'click') {
|
||||||
|
// https://github.com/vueComponent/ant-design-vue/issues/1316
|
||||||
|
this.quickGo(this.getValidValue());
|
||||||
this.setState({
|
this.setState({
|
||||||
goInputText: '',
|
goInputText: '',
|
||||||
});
|
});
|
||||||
this.quickGo(this.getValidValue());
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue