From e37f9590262ea9e38c9f0244e2aff1f18ea7af49 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 22 Mar 2024 10:23:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BE=93=E5=85=A5=E8=84=9A=E6=9C=AC=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E4=B8=8D=E7=94=9F=E6=95=88=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1037411 --user=王孝刚 【接口测试】定义-调试-后置-脚本操作-不输入脚本名称保存后查看名称消失 https://www.tapd.cn/55049933/s/1478976 --- frontend/src/components/business/ms-assertion/index.vue | 2 +- .../src/views/api-test/components/condition/content.vue | 6 +++--- frontend/src/views/api-test/components/condition/index.vue | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/business/ms-assertion/index.vue b/frontend/src/components/business/ms-assertion/index.vue index 1d5074ad41..fc0256343f 100644 --- a/frontend/src/components/business/ms-assertion/index.vue +++ b/frontend/src/components/business/ms-assertion/index.vue @@ -339,7 +339,7 @@ ...tmpObj, id, processorType: ResponseAssertionType.SCRIPT, - scriptName: t('apiTestDebug.preconditionScriptName'), + name: t('apiTestDebug.preconditionScriptName'), enableCommonScript: false, script: '', scriptId: '', diff --git a/frontend/src/views/api-test/components/condition/content.vue b/frontend/src/views/api-test/components/condition/content.vue index 51c3dbb0ed..da8a1523f0 100644 --- a/frontend/src/views/api-test/components/condition/content.vue +++ b/frontend/src/views/api-test/components/condition/content.vue @@ -73,7 +73,7 @@
- +
- {{ condition.scriptName }} + {{ condition.name }}
diff --git a/frontend/src/views/api-test/components/condition/index.vue b/frontend/src/views/api-test/components/condition/index.vue index 80a43bee3b..b1ce73dd16 100644 --- a/frontend/src/views/api-test/components/condition/index.vue +++ b/frontend/src/views/api-test/components/condition/index.vue @@ -137,7 +137,7 @@ data.value.push({ id, processorType: type, - scriptName: t('apiTestDebug.preconditionScriptName'), + name: t('apiTestDebug.preconditionScriptName'), enableCommonScript: false, associateScenarioResult: false, ignoreProtocols: [],