fix(接口测试): 代码编辑器回车多了斜杠r
This commit is contained in:
parent
e8124a7d75
commit
41ac7ff3fd
|
@ -305,6 +305,8 @@
|
|||
theme: currentTheme.value,
|
||||
});
|
||||
|
||||
editor.getModel()?.setEOL(monaco.editor.EndOfLineSequence.LF); // 设置换行符
|
||||
|
||||
// 监听值的变化
|
||||
editor.onDidChangeModelContent(() => {
|
||||
const value = editor.getValue(); // 给父组件实时返回最新文本
|
||||
|
|
|
@ -31,7 +31,7 @@ export default {
|
|||
'apiScenario.params.csvScopedTip1':
|
||||
'Scenario level: Load CSV before executing the scenario. Data can be read from CSV in any step of the current scenario.',
|
||||
'apiScenario.params.csvScopedTip2':
|
||||
'Step level: The CSV needs to be added to the scenario step. The CSV is loaded when executing this step, and the scope is the request within the step.',
|
||||
'Step level: The CSV needs to be added to the scenario step. The CSV is loaded when executing this loop step, and the scope is the request within the loop step.',
|
||||
'apiScenario.params.searchPlaceholder': 'Search by name/tag',
|
||||
'apiScenario.params.priority':
|
||||
'Variable Priority: Temporary Parameters > Scenario Parameters > Environment Parameters > Global Parameters; Note: Avoid using variables with the same name. In case of same name variables, scenario-level CSV has the highest priority.',
|
||||
|
|
|
@ -29,7 +29,8 @@ export default {
|
|||
'apiScenario.params.csvScoped': '作用域',
|
||||
'apiScenario.params.file': '文件',
|
||||
'apiScenario.params.csvScopedTip1': '场景级:执行场景前加载CSV,当前场景任意步骤均可从CSV中读取到数据',
|
||||
'apiScenario.params.csvScopedTip2': '步骤级:需在场景步骤中添加该CSV,执行该步骤时加载CSV,作用域为步骤内的请求',
|
||||
'apiScenario.params.csvScopedTip2':
|
||||
'步骤级:需在循环步骤中添加该CSV,执行该循环步骤时加载CSV,作用域为循环步骤内的请求',
|
||||
'apiScenario.params.config': '配置',
|
||||
'apiScenario.params.csvConfig': 'CSV 配置',
|
||||
'apiScenario.params.csvParamName': '参数名称',
|
||||
|
|
Loading…
Reference in New Issue