更新商品

This commit is contained in:
姜棚 2022-01-24 11:06:43 +08:00
parent 82d1a32435
commit f74e82e7bd
2 changed files with 1 additions and 4 deletions

View File

@ -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)

View File

@ -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;
} }