删除多余代码
This commit is contained in:
parent
c8f5dab29a
commit
99e99df028
|
@ -131,16 +131,7 @@ export default class exchangeAdd extends React.Component {
|
||||||
handelResponse(
|
handelResponse(
|
||||||
res,
|
res,
|
||||||
(req, msg) => {
|
(req, msg) => {
|
||||||
let resller_obj = {
|
|
||||||
id: req.reseller_id,
|
|
||||||
name: req.reseller_name,
|
|
||||||
company_name: req.company_name,
|
|
||||||
receive_email: req.receive_email
|
|
||||||
}
|
|
||||||
|
|
||||||
this.setState({ reseller: resller_obj })
|
|
||||||
this.getResellerFunction(req.reseller_id)
|
this.getResellerFunction(req.reseller_id)
|
||||||
|
|
||||||
req.update_product = [...this.transFormData1(req.update_product)]
|
req.update_product = [...this.transFormData1(req.update_product)]
|
||||||
req.new_product = [...this.transFormData1(req.new_product, true)]
|
req.new_product = [...this.transFormData1(req.new_product, true)]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue