Browse Source

Merge branch '信息跳转问题'

xiaohaizhao 1 year ago
parent
commit
ef3ab5b348
1 changed files with 1 additions and 1 deletions
  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;
         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') {