瀏覽代碼

Merge branch '信息跳转问题'

xiaohaizhao 1 年之前
父節點
當前提交
ef3ab5b348
共有 1 個文件被更改,包括 1 次插入1 次删除
  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') {