forked from Gitlink/forgeplus-react
filedetail
This commit is contained in:
parent
b7a92b17e7
commit
da31875a5a
|
@ -250,7 +250,7 @@ class CoderRootDirectory extends Component {
|
|||
// readme文件内容
|
||||
renderReadMeContent = (readMeContent, permission) => {
|
||||
const { fileDetail, readMeFile } = this.state;
|
||||
if (fileDetail) {
|
||||
if (fileDetail && fileDetail.length !== 0) {
|
||||
return;
|
||||
}
|
||||
if (readMeContent && readMeContent.length > 0) {
|
||||
|
|
Loading…
Reference in New Issue