📅  最后修改于: 2022-03-11 15:00:30.834000             🧑  作者: Mango
代码示例1
this.state = {
jasper: { name: 'jasper', age: 28 },
}
this.setState({
jasper: {
...this.state.jasper,
name: 'something'
}
})