diff --git a/src/forge/Branch/CloneAddress.js b/src/forge/Branch/CloneAddress.js index f20b6b980..35feffe46 100644 --- a/src/forge/Branch/CloneAddress.js +++ b/src/forge/Branch/CloneAddress.js @@ -16,18 +16,24 @@ class CloneAddress extends Component{ return(
{/* onClick={()=>this.changeAddress("http")} */} - HTTP + { + !http_url && HTTP + } {/* this.changeAddress("ssh")}>SSH */} this.jsCopy()}> - - - - - + { + !downloadUrl && + + + + + + } +
) } diff --git a/src/forge/Order/New.js b/src/forge/Order/New.js index 7046fa7d3..b7784bb4f 100644 --- a/src/forge/Order/New.js +++ b/src/forge/Order/New.js @@ -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} /> - {/* - {getFieldDecorator('description', { - rules: [], - })( -