diff --git a/frontend/src/business/components/performance/plan/components/PerformanceBasicConfig.vue b/frontend/src/business/components/performance/plan/components/PerformanceBasicConfig.vue index 3c73429270..45f3ac890f 100644 --- a/frontend/src/business/components/performance/plan/components/PerformanceBasicConfig.vue +++ b/frontend/src/business/components/performance/plan/components/PerformanceBasicConfig.vue @@ -185,10 +185,10 @@ validConfig() { let newJmxNum = 0, oldJmxNum = 0; if (this.uploadList.length > 0) { - newJmxNum = this.uploadList.filter(f => f.name.endsWith(".jmx")).length; + newJmxNum = this.uploadList.filter(f => f.name.toLowerCase().endsWith(".jmx")).length; } if (this.fileList.length > 0) { - oldJmxNum = this.fileList.filter(f => f.name.endsWith(".jmx")).length; + oldJmxNum = this.fileList.filter(f => f.name.toLowerCase().endsWith(".jmx")).length; } if (newJmxNum + oldJmxNum !== 1) { this.$message({