bundle.js:176418 Warning: A component is changing an uncontrolled input of type text to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlle...
这个原因就是受控组件与非受控组件的问题。你在初始的时候将value的值设置为undefined了。
所以修改为: