filedetail

This commit is contained in:
caishi 2021-03-09 11:46:41 +08:00
parent b7a92b17e7
commit da31875a5a
1 changed files with 1 additions and 1 deletions

View File

@ -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) {