MaiXinRong 2 месяцев назад
Родитель
Сommit
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) {