diff --git a/frontend/src/business/components/api/automation/scenario/common/Jsr233ProcessorContent.vue b/frontend/src/business/components/api/automation/scenario/common/Jsr233ProcessorContent.vue
index 4c9076b2a1..9e86525626 100644
--- a/frontend/src/business/components/api/automation/scenario/common/Jsr233ProcessorContent.vue
+++ b/frontend/src/business/components/api/automation/scenario/common/Jsr233ProcessorContent.vue
@@ -1,270 +1,276 @@
-
-
-
-
-
-
diff --git a/frontend/src/business/components/api/automation/scenario/component/Jsr233Processor.vue b/frontend/src/business/components/api/automation/scenario/component/Jsr233Processor.vue
index 47c99a7630..fe285fc558 100644
--- a/frontend/src/business/components/api/automation/scenario/component/Jsr233Processor.vue
+++ b/frontend/src/business/components/api/automation/scenario/component/Jsr233Processor.vue
@@ -18,6 +18,7 @@
:jsr223-processor="jsr223Processor"
:is-pre-processor="isPreProcessor"
:node="node"
+ :protocol="protocol"
:is-read-only="this.jsr223Processor.disabled"/>
@@ -83,6 +84,7 @@ export default {
type: Boolean,
default: true,
},
+ protocol:String,
isReadOnly: {
type: Boolean,
default:
diff --git a/frontend/src/business/components/api/definition/components/request/tcp/TcpFormatParameters.vue b/frontend/src/business/components/api/definition/components/request/tcp/TcpFormatParameters.vue
index 25f9e6158f..900e6fd052 100644
--- a/frontend/src/business/components/api/definition/components/request/tcp/TcpFormatParameters.vue
+++ b/frontend/src/business/components/api/definition/components/request/tcp/TcpFormatParameters.vue
@@ -57,7 +57,7 @@
{{ request.preSize }}
-
{{ request.postSize }}
-
{{ request.ruleSize }}
-
diff --git a/frontend/src/business/components/api/definition/components/step/JmxStep.vue b/frontend/src/business/components/api/definition/components/step/JmxStep.vue
index 026a0848b6..60555c5fad 100644
--- a/frontend/src/business/components/api/definition/components/step/JmxStep.vue
+++ b/frontend/src/business/components/api/definition/components/step/JmxStep.vue
@@ -18,7 +18,8 @@
:value="item.id">
-
+
{{ $t('api_test.request.assertions.add') }}
@@ -37,6 +38,7 @@
v-if="data.type==='JSR223PreProcessor'"
@remove="remove"
@copyRow="copyRow"
+ :protocol="protocol"
:title="$t('api_test.definition.request.pre_script')"
:jsr223-processor="data"
color="#B8741A"
@@ -53,7 +55,8 @@
color="#B8741A"
background-color="#F9F1EA"/>
-
+
@@ -62,6 +65,7 @@
v-if="data.type ==='JSR223PostProcessor'"
@copyRow="copyRow"
@remove="remove"
+ :protocol="protocol"
:is-read-only="false"
:title="$t('api_test.definition.request.post_script')"
:jsr223-processor="data"
@@ -150,6 +154,7 @@ export default {
},
isShowEnable: Boolean,
jsonPathList: Array,
+ protocol: String,
isReadOnly: {
type: Boolean,
default: false
@@ -429,7 +434,18 @@ export default {
if (line[1] === '必填' || line[1] === 'Required' || line[1] === 'true') {
required = true;
}
- keyValues.push(new KeyValue({name: line[0], required: required, value: line[2], description: line[3], type: "text", valid: false, file: false, encode: true, enable: true, contentType: "text/plain"}));
+ keyValues.push(new KeyValue({
+ name: line[0],
+ required: required,
+ value: line[2],
+ description: line[3],
+ type: "text",
+ valid: false,
+ file: false,
+ encode: true,
+ enable: true,
+ contentType: "text/plain"
+ }));
})
keyValues.forEach(item => {
switch (this.activeName) {
diff --git a/frontend/src/business/components/project/menu/function/ScriptNavMenu.vue b/frontend/src/business/components/project/menu/function/ScriptNavMenu.vue
index 5a1cc56fc2..0a84af7751 100644
--- a/frontend/src/business/components/project/menu/function/ScriptNavMenu.vue
+++ b/frontend/src/business/components/project/menu/function/ScriptNavMenu.vue
@@ -8,7 +8,7 @@
-
+
@@ -17,7 +17,7 @@
- {{child.title}}
+ {{child.disabled}}{{child.title}}