摘要: onChange = key => e => { const value = key.split('.').reduceRight( (v, k) => ({ [k]: v, }), { $set: e.target.value, }, ); this.setState({ data: update 阅读全文
posted @ 2018-08-14 11:41 Terre 阅读(709) 评论(0) 推荐(0) 编辑

风光无限好