修复编辑 KEY报错问题

This commit is contained in:
wangsongsole 2022-08-01 10:32:46 +08:00
parent 99dde0615f
commit f1269eb72e
1 changed files with 4 additions and 4 deletions

View File

@ -759,10 +759,10 @@ export default class acclist extends React.Component {
let id = sessionStorage.getItem('keybatch_id') let id = sessionStorage.getItem('keybatch_id')
let data = { let data = {
code_batch: dataCopy, code_batch: dataCopy,
reseller_id: this.state.reseller.id, reseller_id: this.state.reseller?.id,
reseller_name: this.state.reseller.name, reseller_name: this.state.reseller?.name,
company_name: this.state.reseller.company_name, company_name: this.state.reseller?.company_name,
receive_email: this.state.reseller.contact_email[0], receive_email: this.state.reseller?.contact_email[0],
payment_direction: payment_direction:
this.state.payment_direction[this.state.paytype - 1] this.state.payment_direction[this.state.paytype - 1]
} }