// 修改 拷贝副本
const list = this.state.list.filter((item, key) => {
return key !== index;
});
this.setState({
list: list
})
const list = this.state.list.filter((item, key) => {
return key !== index;
});
this.setState({
list: list
})
2019-09-12
this.setState({
list: this.state.list.filter((item, key) => {
return key !== index;
})
})
list: this.state.list.filter((item, key) => {
return key !== index;
})
})
2019-09-12