fix: 性能测试支持上传js资源文件

This commit is contained in:
Captain.B 2021-09-17 18:29:41 +08:00 committed by 刘瑞斌
parent dccd6a4a21
commit 296ecca115
1 changed files with 1 additions and 1 deletions

View File

@ -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;