fix(测试计划): 导出报告看不到关联的缺陷内容

--bug=1011422 --user=李玉号 [BUG]github#11615测试计划执行后,导出报告看不到关联的缺陷内容
https://www.tapd.cn/55049933/s/1122467

Closes #11615
This commit is contained in:
shiziyuan9527 2022-03-21 18:07:28 +08:00 committed by 刘瑞斌
parent 939bc8b026
commit cde1a2880c
2 changed files with 5 additions and 6 deletions

View File

@ -112,6 +112,10 @@ export default {
computed: {
language() {
const user = getCurrentUser();
//
if (!user) {
return 'zh_CN';
}
const language = user.language;
switch (language) {
case 'zh_CN':

View File

@ -8,7 +8,7 @@
:label="$t('commons.id')"
show-overflow-tooltip>
<template v-slot:default="{row}">
{{isCustomNum ? row.customNum : row.num }}
{{row.isCustomNum ? row.customNum : row.num }}
</template>
</el-table-column>
<el-table-column
@ -92,11 +92,6 @@ export default {
testCases: []
}
},
computed: {
isCustomNum() {
return this.$store.state.currentProjectIsCustomNum;
},
},
mounted() {
this.getFunctionalTestCase();
},