Prechádzať zdrojové kódy

feat: 加密包后缀修改

zhangjie 5 dní pred
rodič
commit
2e8b283ec7

+ 2 - 2
src/modules/question/components/QuestionImportDialog.vue

@@ -151,7 +151,7 @@ export default {
         },
         {
           name: "zip",
-          format: ["zip", "lzip"],
+          format: ["zip", "edp"],
         },
       ],
       modalForm: {
@@ -214,7 +214,7 @@ export default {
       return types ? types.format : [];
     },
     needPassword() {
-      return this.fileData.file?.name.endsWith(".lzip");
+      return this.fileData.file?.name.endsWith(".edp");
     },
   },
   watch: {