forked from Gitlink/forgeplus-react
刷新新建合并请求页面之后新建合并请求报错3.0
This commit is contained in:
parent
58f7c984a2
commit
4d99c97370
|
@ -123,7 +123,10 @@ 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});
|
||||
}
|
||||
this.setState({isSpin: false});
|
||||
setTimeout(()=>{
|
||||
this.setState({isSpin: false});
|
||||
console.log('setTimeout state', this.state.data);
|
||||
},0)
|
||||
// 如果url上的分支不存在,取默认值master
|
||||
const noMergeBranch =
|
||||
(result.data.branches || []).filter(
|
||||
|
|
Loading…
Reference in New Issue