fix(UI自动化): 高级搜索模块树默认模块国际化

This commit is contained in:
zhangdahai112 2022-11-21 18:08:27 +08:00 committed by zhangdahai112
parent 02bcc512f6
commit a9cd4a86d1
4 changed files with 5 additions and 1 deletions

View File

@ -136,6 +136,8 @@ export default {
this.treeNodes = data; this.treeNodes = data;
this.treeNodes.forEach(node => { this.treeNodes.forEach(node => {
node.name = node.name === '未规划用例' ? this.$t('api_test.unplanned_case') : node.name; node.name = node.name === '未规划用例' ? this.$t('api_test.unplanned_case') : node.name;
node.name = node.name === '未规划场景' ? this.$t('ui.unplanned_scenario') : node.name;
node.label = node.label === '未规划场景' ? this.$t('ui.unplanned_scenario') : node.label;
this.buildTree(node); this.buildTree(node);
}); });
}, },

View File

@ -2995,6 +2995,7 @@ const message = {
delete_scenario_lable: "Delete scenario", delete_scenario_lable: "Delete scenario",
delete_command_lable: "Delete command", delete_command_lable: "Delete command",
command_name_label: "Command name", command_name_label: "Command name",
unplanned_module: "Unplanned module",
}, },
project_application: { project_application: {
workstation: { workstation: {

View File

@ -3007,7 +3007,7 @@ const message = {
command_name_label: "指令名称", command_name_label: "指令名称",
command_steps_label: "指令步骤", command_steps_label: "指令步骤",
command_step_info: "在右侧添加指令步骤", command_step_info: "在右侧添加指令步骤",
unplanned_scenario: "未规划场景",
}, },
project_application: { project_application: {
workstation: { workstation: {

View File

@ -2986,6 +2986,7 @@ const message = {
command_name_label: "指令名稱", command_name_label: "指令名稱",
command_steps_label: "指令步驟", command_steps_label: "指令步驟",
command_step_info: "在右側添加指令步驟", command_step_info: "在右側添加指令步驟",
unplanned_scenario: "未規劃場景"
}, },
project_application: { project_application: {
workstation: { workstation: {