fix(接口测试): 代码编辑器回车多了斜杠r

This commit is contained in:
AgAngle 2024-06-25 18:43:52 +08:00 committed by 刘瑞斌
parent e8124a7d75
commit 41ac7ff3fd
3 changed files with 5 additions and 2 deletions

View File

@ -305,6 +305,8 @@
theme: currentTheme.value,
});
editor.getModel()?.setEOL(monaco.editor.EndOfLineSequence.LF); //
//
editor.onDidChangeModelContent(() => {
const value = editor.getValue(); //

View File

@ -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.',

View File

@ -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': '参数名称',