${pathStr}
-
-
+ name
- size
- mtime
- name
+ size
+ mtime
+ ${fileListStr}
diff --git a/server/lib/file-list.js b/server/lib/file-list.js
index 930e520..cc129d9 100644
--- a/server/lib/file-list.js
+++ b/server/lib/file-list.js
@@ -23,25 +23,31 @@ function getHtml(data) {
.reduce(
(acc, cur) => {
return `${acc}
-
- ${cur.name}
+
`
},
pathList.length > 1 ? `
-
+
..
--
--
+
` : ``
)
// 文件模板
const template = `