Objects are not valid as a React child (found: object with keys {value,onChange}). If you meant to render a collection of children,use an array instead or wrap the object using createFragment(object) from the React add-ons.
当使用react 输出一个object 的时候,会报错
<span>{{a:1}}</span>
正确如下:
<span>{1}</span>