|
@@ -248,7 +248,7 @@ const NewDetailForm = Form.create()(React.createClass({
|
|
|
{...formItemLayout}
|
|
|
label={<span><strong style={{color:'#f00',fontSize:12}}>* </strong>视频文件</span>}
|
|
|
>
|
|
|
- {theData.transcoding==1?<Upload
|
|
|
+ {theData.transcoding==1||!this.props.data.id?<Upload
|
|
|
action={globalConfig.context +'/api/admin/video/upload' }
|
|
|
data={{ sign:'video' }}
|
|
|
fileList={this.state.fileList}
|