filedetail

This commit is contained in:
caishi 2021-03-09 11:49:48 +08:00
parent 916cc293ac
commit a6e2171fca
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,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) {