xiaohaizhao %!s(int64=2) %!d(string=hai) anos
pai
achega
f45d2e6e4e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      utils/matchingFeilType.js

+ 1 - 1
utils/matchingFeilType.js

@@ -18,7 +18,7 @@ function fileList(list) {
         list[i].cover = `/static/image/file/unknown.png`
         const suffix = list[i].postfix.toLowerCase();
         if (suffix != "folder") {
-            for (var key in suffixList) {
+            for (let key in suffixList) {
                 if (suffixList[key].some(value => value == suffix)) {
                     list[i].fileType = key;
                     if (key == 'image') {