diff --git a/frontend/src/business/components/api/definition/components/ApiVariableAdvance.vue b/frontend/src/business/components/api/definition/components/ApiVariableAdvance.vue index 242a9ca3d1..f4f6879c0f 100644 --- a/frontend/src/business/components/api/definition/components/ApiVariableAdvance.vue +++ b/frontend/src/business/components/api/definition/components/ApiVariableAdvance.vue @@ -82,32 +82,6 @@ - - - - - {{ $t('api_test.environment.environment') }} - - - - {{ $t('api_test.scenario.scenario') }} - - - - - - {{ $t('api_test.request.jmeter_func') }} - - - - - - - - - - - @@ -140,7 +114,6 @@ - @@ -170,7 +143,6 @@ - {{ $t('api_test.definition.request.extract_params') }} @@ -187,25 +159,45 @@ + + + + + + {{ $t('api_test.request.jmeter_func') }} + + + + + + + + + - - + + + + + {{ $t('commons.save') }} + + + {{ $t('api_test.request.parameters_advance_add_func') }} + + + {{ $t('api_test.request.parameters_preview') }} + + - - {{ $t('commons.save') }} - - - {{ $t('api_test.request.parameters_advance_add_func') }} - - - {{ $t('api_test.request.parameters_preview') }} - @@ -602,8 +594,11 @@ savePreParams(data) { this.itemValue = '${' + data + '}'; }, - - + handleRowClick(row) { + if(row && row.name){ + this.itemValue = row.name; + } + }, // 前置返回 nodeExpand(data) {
{{ $t('api_test.environment.environment') }}
{{ $t('api_test.scenario.scenario') }}
{{ $t('api_test.definition.request.extract_params') }}