|
|
|
@ -30,7 +30,7 @@ class CoderRootIndex extends Component{
|
|
|
|
|
branchs:undefined,
|
|
|
|
|
branchList:undefined,
|
|
|
|
|
branchLastCommit:undefined,
|
|
|
|
|
http_url:undefined
|
|
|
|
|
// http_url:undefined
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
componentDidMount=()=>{
|
|
|
|
@ -54,7 +54,7 @@ class CoderRootIndex extends Component{
|
|
|
|
|
branchList:result.data,
|
|
|
|
|
branchs,
|
|
|
|
|
branchLastCommit:result.data[0],
|
|
|
|
|
http_url:result.data[0].http_url
|
|
|
|
|
// http_url:result.data[0].http_url
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}).catch((error)=>{})
|
|
|
|
|