fix(测试跟踪): 关注缺陷后,打开其他缺陷也会显示关注

--bug=1014280 --user=陈建星 【测试跟踪】项目关联jira,缺陷管理列表描述字段图片没有显示 https://www.tapd.cn/55049933/s/1187714
This commit is contained in:
chenjianxing 2022-06-21 17:07:24 +08:00 committed by jianxing
parent e70b190d18
commit 2fd0ee4ea8
2 changed files with 14 additions and 1 deletions

View File

@ -286,6 +286,7 @@ export default {
}
},
open(data, type) {
this.showFollow = false;
this.result.loading = true;
this.type = type;
this.richTextDefaultOpen = this.type === 'edit' ? 'preview' : 'edit';

View File

@ -139,6 +139,16 @@
<span v-if="field.name === '状态'">
{{getCustomFieldValue(scope.row, field) ? getCustomFieldValue(scope.row, field) : issueStatusMap[scope.row.status]}}
</span>
<span v-if="field.type === 'richText'">
<el-popover
placement="right"
width="500"
trigger="hover"
popper-class="issues-popover">
<ms-mark-down-text prop="value" :data="{value: getCustomFieldValue(scope.row, field)}" :disabled="true"/>
<el-button slot="reference" type="text">{{ $t('test_track.issue.preview') }}</el-button>
</el-popover>
</span>
<span v-else>
{{getCustomFieldValue(scope.row, field)}}
</span>
@ -185,10 +195,12 @@ import {getProjectMember} from "@/network/user";
import {LOCAL} from "@/common/js/constants";
import {TEST_TRACK_ISSUE_LIST} from "@/business/components/common/components/search/search-components";
import {getAdvSearchCustomField} from "@/business/components/common/components/search/custom-component";
import MsMarkDownText from "@/business/components/track/case/components/MsMarkDownText";
export default {
name: "IssueList",
components: {
MsMarkDownText,
MsMainContainer,
MsContainer,
IssueEdit,