refactor(性能测试): 性能测试增加dcm文件上传

This commit is contained in:
CaptainB 2022-12-09 21:47:04 +08:00 committed by 刘瑞斌
parent 9e84195cb6
commit 46e5a15033
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ 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"), JS(".js"), TXT(".txt"),
P12(".p12"), JKS(".jks"), PFX(".pfx"),
P12(".p12"), JKS(".jks"), PFX(".pfx"), DCM(".dcm"),
DER(".der"), CER(".cer"), PEM(".pem"), CRT(".crt"), SIDE(".side");
// 保存后缀

View File

@ -24,7 +24,7 @@
<el-upload
v-else
style="margin-bottom: 10px"
accept=".jar,.csv,.json,.pdf,.jpg,.png,.jpeg,.doc,.docx,.xlsx,.txt,.der,.cer,.pem,.crt,.pfx,.p12,.jks"
accept=".jar,.csv,.json,.pdf,.jpg,.png,.jpeg,.doc,.docx,.xlsx,.txt,.der,.cer,.pem,.crt,.pfx,.p12,.jks,.dcm"
action=""
multiple
:show-file-list="false"
@ -65,7 +65,7 @@
<template v-slot:default="scope">
<el-upload
style="width: 38px; float: left;"
accept=".jmx,.jar,.csv,.json,.pdf,.jpg,.png,.jpeg,.doc,.docx,.xlsx,.txt,.der,.cer,.pem,.crt,.pfx,.p12,.jks"
accept=".jmx,.jar,.csv,.json,.pdf,.jpg,.png,.jpeg,.doc,.docx,.xlsx,.txt,.der,.cer,.pem,.crt,.pfx,.p12,.jks,.dcm"
action=""
:show-file-list="false"
:before-upload="beforeUpdateUploadFile"