Commit e2d538f3 authored by 武广's avatar 武广

fix: 删除多余代码

parent 7785342e
......@@ -205,6 +205,8 @@ class BusinessInfo extends Component {
(imgs?.householdRegisterImage?.length && imgs?.householdRegisterImage[0]?.url) || '';
if (!this.state.companyNamedis) {
obj.icbProofImage = (imgs?.icbProofImage?.length && imgs?.icbProofImage[0]?.url) || '';
} else {
delete obj.icbProofImage;
}
obj.applySource = 1;
......@@ -586,7 +588,7 @@ class BusinessInfo extends Component {
{/* 二期放开 */}
{businessInfo.companyName && (
<Button onClick={this.setCompanyName}>
{this.state.companyNamedis ? '修改' : '取消'}{' '}
{this.state.companyNamedis ? '修改' : '取消'}
</Button>
)}
</Col>
......
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