From 0de2f5acd98488383cf6315f4853e05d0a487e3e Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 19 May 2023 17:09:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=82=B9=E5=87=BB=E9=AB=98=E7=BA=A7=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=97=A0=E6=B3=95=E5=87=BA=E7=8E=B0=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E7=A9=BA=E8=A1=8C=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=1026350 --user=王孝刚 【接口场景】设置环境变量完成后场景变量没有生成新的输入框 https://www.tapd.cn/55049933/s/1373331 --- .../components/environment/commons/ApiScenarioVariables.vue | 4 ++-- .../src/components/environment/commons/ApiVariableSetting.vue | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/sdk-parent/frontend/src/components/environment/commons/ApiScenarioVariables.vue b/framework/sdk-parent/frontend/src/components/environment/commons/ApiScenarioVariables.vue index 75be75ffd1..e0dd7437dc 100644 --- a/framework/sdk-parent/frontend/src/components/environment/commons/ApiScenarioVariables.vue +++ b/framework/sdk-parent/frontend/src/components/environment/commons/ApiScenarioVariables.vue @@ -140,7 +140,7 @@ size="mini" style="margin-left: 10px" @click="openSetting(scope.row)" - @change="change" /> + @blur="change"/> @@ -152,7 +152,7 @@ :total="total" /> - + diff --git a/framework/sdk-parent/frontend/src/components/environment/commons/ApiVariableSetting.vue b/framework/sdk-parent/frontend/src/components/environment/commons/ApiVariableSetting.vue index 156855ffa6..57e830fddc 100644 --- a/framework/sdk-parent/frontend/src/components/environment/commons/ApiVariableSetting.vue +++ b/framework/sdk-parent/frontend/src/components/environment/commons/ApiVariableSetting.vue @@ -67,6 +67,7 @@ export default { return; } } + this.$emit('changeData'); this.visible = false; }, handleCancel() {