fix(测试跟踪):修复切换页面导致表单id字段显示不正确问题
--bug=1026115 --user=王旭 [测试跟踪]github#24334开启功能用例自定义ID后,切换功能用例列表页面,用例ID有时候是自定义ID,有时候是默认ID https://www.tapd.cn/55049933/s/1371029
This commit is contained in:
parent
47ad7a1c2a
commit
4051eb1097
|
@ -580,6 +580,7 @@ export default {
|
|||
// 点击模块导致路由变更不刷新,避免刷新两次
|
||||
return;
|
||||
}
|
||||
this.getProject();
|
||||
this.getTemplateField();
|
||||
let ids = this.$route.params.ids;
|
||||
if (ids) {
|
||||
|
@ -1217,7 +1218,18 @@ export default {
|
|||
});
|
||||
}
|
||||
},
|
||||
generateColumnKey
|
||||
generateColumnKey,
|
||||
getProject() {
|
||||
getProjectApplicationConfig('CASE_CUSTOM_NUM')
|
||||
.then(result => {
|
||||
let data = result.data;
|
||||
if (data && data.typeValue === 'true') {
|
||||
store.currentProjectIsCustomNum = true;
|
||||
} else {
|
||||
store.currentProjectIsCustomNum = false;
|
||||
}
|
||||
});
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue