dev_forge
caicai8 5 years ago
parent 2eefb0ed38
commit 5feb1f6e53

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

Loading…
Cancel
Save