From 296ecca1150ab4bfab739efee055c8c16c15254e Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Fri, 17 Sep 2021 18:29:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E4=B8=8A=E4=BC=A0js=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/commons/constants/FileType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/commons/constants/FileType.java b/backend/src/main/java/io/metersphere/commons/constants/FileType.java index fa12516d9f..9d8a98bb13 100644 --- a/backend/src/main/java/io/metersphere/commons/constants/FileType.java +++ b/backend/src/main/java/io/metersphere/commons/constants/FileType.java @@ -3,7 +3,7 @@ package io.metersphere.commons.constants; public enum FileType { JMX(".jmx"), CSV(".csv"), JSON(".json"), PDF(".pdf"), JPG(".jpg"), PNG(".png"), JPEG(".jpeg"), DOC(".doc"), - XLSX(".xlsx"), DOCX(".docx"), JAR(".jar"), TXT(".txt"); + XLSX(".xlsx"), DOCX(".docx"), JAR(".jar"), JS(".js"), TXT(".txt"); // 保存后缀 private String suffix;