更新商品
This commit is contained in:
parent
82d1a32435
commit
f74e82e7bd
|
@ -169,10 +169,6 @@ export default class acclist extends React.Component{
|
||||||
this.setState({model:model})
|
this.setState({model:model})
|
||||||
this.setState({endtime:req.end_time})
|
this.setState({endtime:req.end_time})
|
||||||
this.setState({begintime:req.begin_time})
|
this.setState({begintime:req.begin_time})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this.setState({distdata:temp})
|
this.setState({distdata:temp})
|
||||||
|
|
||||||
// console.log(this.state.checkedList)
|
// console.log(this.state.checkedList)
|
||||||
|
|
|
@ -239,6 +239,7 @@ export default class adduserinfo extends React.Component{
|
||||||
}
|
}
|
||||||
let data = temp ? temp : [];
|
let data = temp ? temp : [];
|
||||||
data.push(this.state.model)
|
data.push(this.state.model)
|
||||||
|
console.log("商品数据",data)
|
||||||
sessionStorage.setItem('productData', JSON.stringify(data));
|
sessionStorage.setItem('productData', JSON.stringify(data));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue