Commit c29e8196 authored by 张子雨's avatar 张子雨

feat: 优化

parent a42f4661
...@@ -183,7 +183,9 @@ class BusinessInfo extends Component { ...@@ -183,7 +183,9 @@ class BusinessInfo extends Component {
if (type === 'businessLicenseImage') { if (type === 'businessLicenseImage') {
info.socialCode = res.socialCode || ''; info.socialCode = res.socialCode || '';
info.companyName = res.companyName || ''; info.companyName = res.companyName || '';
info.businessLicensePeriod = moment(res.businessLicensePeriod) || ''; info.businessLicensePeriod = res.businessLicensePeriod
? moment(res.businessLicensePeriod)
: '';
} else if (type === 'idCardPortraitImage') { } else if (type === 'idCardPortraitImage') {
info.legalPersonName = res.legalPersonName || ''; info.legalPersonName = res.legalPersonName || '';
info.legalPersonIdCard = res.legalPersonIdCard || ''; info.legalPersonIdCard = res.legalPersonIdCard || '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment