Commit e58c9c93c8166f068cf72b3d99e610abc501c795

Authored by ww
1 parent db8072d7

perf: 默认表单增加回车键查询

@@ -38,7 +38,7 @@ export const basicProps = { @@ -38,7 +38,7 @@ export const basicProps = {
38 }, 38 },
39 autoSetPlaceHolder: propTypes.bool.def(true), 39 autoSetPlaceHolder: propTypes.bool.def(true),
40 // 在INPUT组件上单击回车时,是否自动提交 40 // 在INPUT组件上单击回车时,是否自动提交
41 - autoSubmitOnEnter: propTypes.bool.def(false), 41 + autoSubmitOnEnter: propTypes.bool.def(true),
42 submitOnReset: propTypes.bool, 42 submitOnReset: propTypes.bool,
43 size: propTypes.oneOf(['default', 'small', 'large']).def('default'), 43 size: propTypes.oneOf(['default', 'small', 'large']).def('default'),
44 // 禁用表单 44 // 禁用表单