摘要: 项目使用的是react+mobx,简要如下: 组件代码: componentDidMount() { this.handleCard(); } componentWillReceiveProps(nextProps) { console.log(nextProps.name, "new"); } a 阅读全文
posted @ 2020-10-14 21:07 小猪冒泡 阅读(927) 评论(0) 推荐(0) 编辑