修复附件上传的显示

forge
sylor_huang@126.com 5 years ago
parent 0b1c56b2c7
commit 1de87967b3

@ -0,0 +1 @@
react的工作流程比如请求链接后从路由 到 index.js 然后再到每个页面的js文件是这样的吗

@ -150,7 +150,7 @@ class New extends Component{
<TextArea placeholder="请输入工单的描述..." style={{height:"300px"}}/>
)}
</Form.Item>
<UploadComponent load={this.UploadFunc} showNotification={this.props.showNotification}></UploadComponent>
<UploadComponent load={this.UploadFunc} showNotification={this.props.showNotification} isComplete={true}></UploadComponent>
<p className="clearfix mt15">
<a className="topWrapper_btn fr" type="submit" onClick={this.handleSubmit}>创建Issue</a>
</p>

@ -200,7 +200,7 @@ class UpdateDetail extends Component{
<TextArea placeholder="请输入工单的描述..." style={{height:"300px"}} onChange={this.changmodelcount}/>
)}
</Form.Item>
<UploadComponent load={this.UploadFunc} showNotification={this.props.showNotification}></UploadComponent>
<UploadComponent load={this.UploadFunc} showNotification={this.props.showNotification} isComplete={true}></UploadComponent>
{
get_attachments ?
<Attachments attachments={get_attachments} showNotification={this.props.showNotification} canDelete={true}/>

Loading…
Cancel
Save