refactor(接口测试): 修改全局变量代码模版
This commit is contained in:
parent
45c2022424
commit
a0b2dbb53e
|
@ -42,11 +42,11 @@
|
|||
},
|
||||
{
|
||||
title: this.$t('api_test.request.processor.code_template_get_global_variable'),
|
||||
value: '${__P("variable_name")}',
|
||||
value: 'props.get("variable_name")',
|
||||
},
|
||||
{
|
||||
title: this.$t('api_test.request.processor.code_template_set_global_variable'),
|
||||
value: '${__setProperty("variable_name","variable_value",)}',
|
||||
value: 'props.put("variable_name", "variable_value")',
|
||||
},
|
||||
{
|
||||
title: this.$t('api_test.request.processor.code_template_get_response_header'),
|
||||
|
|
Loading…
Reference in New Issue