更新商品描述非必填

This commit is contained in:
姜棚 2021-12-16 13:37:07 +08:00
parent c23716dee1
commit fac8f62cfa
4 changed files with 4 additions and 4 deletions

View File

@ -1177,7 +1177,7 @@ export default class acclist extends React.Component{
maxAmount={1}
onChange={(e)=>{this.onUploadChange2(e,rowData)}}
onUpload={this.onUpload}
defaultFileList={[{'src':rowData.describe_url}]}
defaultFileList={ rowData.describe_url ? [{'src':rowData.describe_url}] : null}
value={rowData.describe_url}
/>
}

View File

@ -722,7 +722,7 @@ export default class exchangedit extends React.Component{
maxAmount={1}
onChange={(e)=>{this.onUploadChange2(e,rowData)}}
onUpload={this.onUpload}
defaultFileList={[{'src':rowData.describe_url}]}
defaultFileList={ rowData.describe_url ? [{'src':rowData.describe_url}] : null}
value={rowData.describe_url}
/>
}

View File

@ -989,7 +989,7 @@ export default class acclist extends React.Component{
maxAmount={1}
onChange={(e)=>{this.onUploadChange2(e,rowData)}}
onUpload={this.onUpload}
defaultFileList={[{'src':rowData.describe_url}]}
defaultFileList={ rowData.describe_url ? [{'src':rowData.describe_url}] : null}
value={rowData.describe_url}
/>
}

View File

@ -1100,7 +1100,7 @@ export default class acclist extends React.Component{
maxAmount={1}
onChange={(e)=>{this.onUploadChange2(e,rowData)}}
onUpload={this.onUpload}
defaultFileList={[{'src':rowData.describe_url}]}
defaultFileList={ rowData.describe_url ? [{'src':rowData.describe_url}] : null}
value={rowData.describe_url}
/>
}