diff --git a/components/input-item/index.native.tsx b/components/input-item/index.native.tsx index d867ba554..911f625ef 100644 --- a/components/input-item/index.native.tsx +++ b/components/input-item/index.native.tsx @@ -132,7 +132,7 @@ export default class InputItem extends React.Component { onExtraClick, onErrorClick, styles, - ...restProps, + ...restProps } = this.props; const { value, defaultValue, style } = restProps; @@ -199,6 +199,7 @@ export default class InputItem extends React.Component { ) ) : null} (this.inputRef = el)}