|
|
|
@ -126,9 +126,10 @@ class CoderRootDirectory extends Component{
|
|
|
|
|
const { current_user } = this.props;
|
|
|
|
|
const { projectsId } = this.props.match.params;
|
|
|
|
|
const { branch } = this.state;
|
|
|
|
|
const { state } = this.props.history.location;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const url =`/${this.props&¤t_user.login}/${projectsId}/sub_entries.json`;
|
|
|
|
|
const url =`/${state}/${projectsId}/sub_entries.json`;
|
|
|
|
|
|
|
|
|
|
axios.get(url,{
|
|
|
|
|
params:{
|
|
|
|
@ -209,7 +210,6 @@ class CoderRootDirectory extends Component{
|
|
|
|
|
}
|
|
|
|
|
render(){
|
|
|
|
|
const { rootList , branch ,filePath , fileDetail , subFileType , readMeContent, isSpin , rootData } = this.state;
|
|
|
|
|
console.log("ddd",rootData);
|
|
|
|
|
const { branchLastCommit , http_url , isManager , isDeveloper } = this.props;
|
|
|
|
|
const { projectsId } = this.props.match.params;
|
|
|
|
|
|
|
|
|
|