Skip to content

Commit

Permalink
fix(rn): react native中input实现有问题,close #4613
Browse files Browse the repository at this point in the history
  • Loading branch information
Pines-Cheng committed Oct 22, 2019
1 parent 8421b76 commit 16257d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-components-rn/src/components/Input/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class _Input extends React.Component<InputProps, InputState> {

static getDerivedStateFromProps (props: InputProps, state: InputState) {
return props.value !== state.value ? {
value: props.value
returnValue: props.value
} : null
}

Expand Down

0 comments on commit 16257d0

Please sign in to comment.