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 = ',';