diff --git a/src/forge/Main/CoderRootDirectory.js b/src/forge/Main/CoderRootDirectory.js index a431ecdf7..52e858e74 100644 --- a/src/forge/Main/CoderRootDirectory.js +++ b/src/forge/Main/CoderRootDirectory.js @@ -90,6 +90,7 @@ class CoderRootDirectory extends Component{ ChangeFile=(arr,index)=>{ this.renderUrl(arr.name,arr.path,arr.type); //点击直接跳转页面 加载一次路由 + this.getFileDetail(arr); this.setState({ subFileType:arr.type diff --git a/src/forge/Main/IndexItem.js b/src/forge/Main/IndexItem.js index f6ba8fdd2..8633928b2 100644 --- a/src/forge/Main/IndexItem.js +++ b/src/forge/Main/IndexItem.js @@ -25,7 +25,7 @@ class IndexItem extends Component{
- {item.author.name}/

{item.name}

+ {item.author.name}/{item.name}

{item.description}