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