forked from Gitlink/forgeplus-react
刷新合并请求页面之后新建合并请求报错(恢复2.0版)
This commit is contained in:
parent
4d99c97370
commit
a04b8de39e
|
@ -123,10 +123,8 @@ class CreateMerge extends Component {
|
|||
const initUser = result.data.projects_names && result.data.projects_names.filter((item)=>item.project_user_login === branchParams.mergeOwner);
|
||||
initUser && initUser[0] && this.selectProjectName(initUser[0].id,false,{projects_names: result.data.projects_names,id: result.data.id});
|
||||
}
|
||||
setTimeout(()=>{
|
||||
this.setState({isSpin: false});
|
||||
console.log('setTimeout state', this.state.data);
|
||||
},0)
|
||||
this.setState({isSpin: false});
|
||||
console.log('setTimeout state', this.state.data);
|
||||
// 如果url上的分支不存在,取默认值master
|
||||
const noMergeBranch =
|
||||
(result.data.branches || []).filter(
|
||||
|
|
Loading…
Reference in New Issue