🐛 修复 readme 文档仅在首页显示的 bug.

This commit is contained in:
zhaojun
2022-07-13 11:08:30 +08:00
parent 4fd0b8d442
commit 0a7fb41e81

View File

@@ -95,7 +95,7 @@ public class SiteController {
Integer storageId = storageSource.getId();
// 获取指定目录 readme 文件
ReadmeConfig readmeByPath = readmeConfigService.findReadmeByPath(storageId, "");
ReadmeConfig readmeByPath = readmeConfigService.findReadmeByPath(storageId, path);
if (ObjectUtil.isNotNull(readmeByPath)) {
String readmeText = readmeByPath.getReadmeText();