From 191482cec3160d0bb27abf998daf025410435c8f Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Mon, 20 Mar 2023 12:02:11 +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=E9=80=9A=E7=94=A8=E8=AE=BE=E7=BD=AE=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E7=B1=BB=E5=9E=8B=EF=BC=8C=E5=80=BC=E6=B2=A1=E7=94=A8?= =?UTF-8?q?=E8=B7=9F=E7=9D=80=E6=94=B9=E5=8F=98=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=1018550 --user=王孝刚 【项目设置】环境配置-通用设置修改常量/列表类型为随机数/计数器类型,值没有发生改变 https://www.tapd.cn/55049933/s/1352771 --- .../components/environment/commons/ApiScenarioVariables.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 f064ed7960..8c8991ab0f 100644 --- a/framework/sdk-parent/frontend/src/components/environment/commons/ApiScenarioVariables.vue +++ b/framework/sdk-parent/frontend/src/components/environment/commons/ApiScenarioVariables.vue @@ -89,7 +89,8 @@ v-model="scope.row.type" v-if="!scope.row.scope || scope.row.scope == 'api'" :placeholder="$t('commons.please_select')" - size="mini"> + size="mini" + @change="changeType(scope.row)"> @@ -311,6 +312,7 @@ export default { // TODO 检查key重复 }, changeType(data) { + console.log(data); data.value = ''; if (!data.delimiter || (!data.files && data.files.length === 0) || !data.quotedData) { data.delimiter = ',';