diff --git a/frontend/src/business/components/performance/test/components/PerformanceAdvancedConfig.vue b/frontend/src/business/components/performance/test/components/PerformanceAdvancedConfig.vue
index b20f925a9e..5945c1ed70 100644
--- a/frontend/src/business/components/performance/test/components/PerformanceAdvancedConfig.vue
+++ b/frontend/src/business/components/performance/test/components/PerformanceAdvancedConfig.vue
@@ -81,7 +81,8 @@
{{ $t('load_test.connect_timeout') }}
-
@@ -95,7 +96,8 @@
{{ $t('load_test.response_timeout') }}
-
+
ms
@@ -141,7 +143,8 @@
-
+
@@ -163,26 +166,26 @@
prop="name"
label="名称">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
@@ -218,8 +221,8 @@ export default {
components: {EditMonitor, MsTableOperatorButton},
data() {
return {
- timeout: 60000,
- responseTimeout: 60000,
+ timeout: undefined,
+ responseTimeout: undefined,
statusCode: [],
domains: [],
params: [],
@@ -237,7 +240,7 @@ export default {
{start: 60001, end: 180000, granularity: 1800},
{start: 180001, end: 360000, granularity: 3600},
]
- }
+ };
},
props: {
readOnly: {
@@ -263,7 +266,7 @@ export default {
this.$get('/performance/get-advanced-config/' + this.testId, (response) => {
if (response.data) {
let data = JSON.parse(response.data);
- this.timeout = data.timeout || 10;
+ this.timeout = data.timeout;
this.responseTimeout = data.responseTimeout;
this.statusCode = data.statusCode || [];
this.statusCodeStr = this.statusCode.join(',');
@@ -293,7 +296,7 @@ export default {
}
},
edit(row) {
- row.edit = !row.edit
+ row.edit = !row.edit;
},
del(row, dataName, index) {
this[dataName].splice(index, 1);
@@ -374,7 +377,7 @@ export default {
},
}
-}
+};