issue
This commit is contained in:
parent
c1d3d5fb8b
commit
83f2c28ae0
|
@ -16,18 +16,24 @@ class CloneAddress extends Component{
|
|||
return(
|
||||
<div className="gitAddressClone">
|
||||
{/* onClick={()=>this.changeAddress("http")} */}
|
||||
<span>HTTP</span>
|
||||
{
|
||||
!http_url && <span>HTTP</span>
|
||||
}
|
||||
{/* <span className={address ==="ssh" ? "addressType active":"addressType"} onClick={()=>this.changeAddress("ssh")}>SSH</span> */}
|
||||
<input type="text" id="copy_rep_content" value={ http_url }/>
|
||||
<Tooltip title="复制链接">
|
||||
<span onClick={()=>this.jsCopy()}><i className="iconfont icon-fuzhi"></i></span>
|
||||
</Tooltip>
|
||||
<span>
|
||||
<Dropdown overlay={downloadUrl} trigger={['click']} placement="bottomRight">
|
||||
<a className="ant-dropdown-link">
|
||||
<Icon type="cloud-download" className="font-18 fl"/>
|
||||
</a>
|
||||
</Dropdown></span>
|
||||
{
|
||||
!downloadUrl &&
|
||||
<Dropdown overlay={downloadUrl} trigger={['click']} placement="bottomRight">
|
||||
<a className="ant-dropdown-link">
|
||||
<Icon type="cloud-download" className="font-18 fl"/>
|
||||
</a>
|
||||
</Dropdown>
|
||||
}
|
||||
</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -40,6 +40,10 @@ class New extends Component{
|
|||
}
|
||||
|
||||
componentDidMount=()=>{
|
||||
if(!this.props.checkIfLogin()){
|
||||
this.props.showLoginDialog();
|
||||
return;
|
||||
}
|
||||
this.InitData();
|
||||
this.getSelectList();
|
||||
}
|
||||
|
@ -167,19 +171,12 @@ class New extends Component{
|
|||
opacity:1,
|
||||
}}
|
||||
// autoFocus={true}
|
||||
style={{ height: '170px' }}
|
||||
style={{ height: '180px' }}
|
||||
placeholder="请输入工单的描述..."
|
||||
options={options}
|
||||
onContentChange={this.onContentChange}
|
||||
/>
|
||||
</div>
|
||||
{/* <Form.Item>
|
||||
{getFieldDecorator('description', {
|
||||
rules: [],
|
||||
})(
|
||||
<TextArea placeholder="请输入工单的描述..." style={{height:"300px"}}/>
|
||||
)}
|
||||
</Form.Item> */}
|
||||
<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>
|
||||
|
|
|
@ -441,7 +441,7 @@ class LoginDialog extends Component {
|
|||
isRender: false
|
||||
})
|
||||
this.props.Modifyloginvalue();
|
||||
|
||||
this.props.history.push("/login");
|
||||
|
||||
// this.setState({
|
||||
// isRender: false
|
||||
|
|
Loading…
Reference in New Issue