fix(UI 自动化): 导入新增的ide文件,执行查看报告步骤没有国际化
--bug=1013819 --user=张大海 【UI测试】导入side文件,直接执行,步骤名称显示错误 https://www.tapd.cn/55049933/s/1175220
This commit is contained in:
parent
23e761f897
commit
072a482032
|
@ -184,7 +184,7 @@ export default {
|
|||
hashTree.forEach(item => {
|
||||
if (item.enable) {
|
||||
item.parentIndex = fullPath ? fullPath + "_" + item.index : item.index;
|
||||
if (item.command === item.name) {
|
||||
if (item.type && item.type === "MsUiCommand" && item.command === item.name) {
|
||||
item.name = this.$t("ui." + item.name);
|
||||
}
|
||||
let name = item.name ? item.name : this.getType(item.type);
|
||||
|
|
Loading…
Reference in New Issue