MaiXinRong 2 月之前
父節點
當前提交
5ccb51533e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/extend/helper.js

+ 1 - 1
app/extend/helper.js

@@ -1319,7 +1319,7 @@ module.exports = {
         return reg.test(ext);
     },
     canPreviewKkfile(ext){
-        const reg = /(.doc)|(.docx)|(.xlx)|(.xlsx)|(.ppt)(.pptx)/i;
+        const reg = /(.doc)|(.docx)|(.xls)|(.xlsx)|(.ppt)(.pptx)/i;
         return reg.test(ext);
     },
     fileExtStr(ext) {