商品范围列表后端提示

This commit is contained in:
red-deng-deng 2021-12-09 19:14:17 +08:00
parent 71bc0eed61
commit 4ee71c5b09
1 changed files with 4 additions and 4 deletions

View File

@ -164,7 +164,6 @@ export default class adduserinfo extends React.Component{
putCodeProduct(code_batch_id,product_id,formdata).then((res)=>{ putCodeProduct(code_batch_id,product_id,formdata).then((res)=>{
handelResponse(res,(req,msg)=>{ handelResponse(res,(req,msg)=>{
console.log(req)
let model2 = this.state.model; let model2 = this.state.model;
model2.show_url = req.path; model2.show_url = req.path;
this.setState({model:model2}) this.setState({model:model2})
@ -172,11 +171,12 @@ export default class adduserinfo extends React.Component{
Notify.clear(); Notify.clear();
Notify.success(msg); Notify.success(msg);
setTimeout(()=>{ setTimeout(()=>{
window.history.back() window.history.back()
},1000); },1000);
}) },(error)=>{
Notify.error(error);
})
}); });
} }
} }
onProductChange(e){ onProductChange(e){