From 7de31289ee3823aa087fd48322303ab56c050b80 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Mon, 20 Feb 2023 18:35:08 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E7=8E=AF=E5=A2=83=E9=80=9A=E7=94=A8=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=A2=9E=E5=8A=A0=E5=88=86=E9=A1=B5=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1023305 --user=王孝刚 【接口测试】github#21835,接口自动化场景页面,进入环境配置,当通用配置里参数过多(100以上)时,进入很慢(10s),关闭也很慢(10s)。 https://www.tapd.cn/55049933/s/1338946 --- .../commons/ApiScenarioVariables.vue | 449 ++++++++---------- 1 file changed, 198 insertions(+), 251 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 aecd0f2b80..a63b08be3a 100644 --- a/framework/sdk-parent/frontend/src/components/environment/commons/ApiScenarioVariables.vue +++ b/framework/sdk-parent/frontend/src/components/environment/commons/ApiScenarioVariables.vue @@ -7,8 +7,7 @@ size="mini" v-model="selectVariable" @change="filter" - @keyup.enter="filter" - > + @keyup.enter="filter">
@@ -16,27 +15,20 @@ v-permission="['PROJECT_ENVIRONMENT:READ+IMPORT']" icon="el-icon-box" :content="$t('commons.import')" - @click="importJSON" - /> - - + @click="importJSON" /> + + {{ $t('envrionment.export_variable_tip') }} - - {{ $t("commons.batch_add") }} + + {{ $t('commons.batch_add') }}
@@ -48,23 +40,20 @@ width: 99%; margin-top: 10px; clear: both; - " - > + "> - - - + ref="variableTable"> + - + @change="changeType(scope.row)"> + - + - + - + - + + - + - +