state中的key为变量 默默同学93164 2020-05-21 116 阅读1分钟 this.state[`collecState${record.id}`] this.setState({ [`collecState${comp_id}`]: collecState })