MaiXinRong пре 5 месеци
родитељ
комит
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);
         return reg.test(ext);
     },
     },
     canPreviewKkfile(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);
         return reg.test(ext);
     },
     },
     fileExtStr(ext) {
     fileExtStr(ext) {