fix(用例管理): 修复用例管理关联缺陷预览格式不对问题
--bug=1037257 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001037257
This commit is contained in:
parent
bca7225a92
commit
4bf2e46a5f
|
@ -30,12 +30,10 @@
|
|||
<ms-base-table ref="tableRef" v-bind="propsRes" v-on="propsEvent">
|
||||
<template #name="{ record }">
|
||||
<span class="one-line-text max-w-[300px]"> {{ record.name }}</span>
|
||||
<a-popover title="" position="right">
|
||||
<a-popover title="" position="right" style="width: 480px">
|
||||
<span class="ml-1 text-[rgb(var(--primary-5))]">{{ t('caseManagement.featureCase.preview') }}</span>
|
||||
<template #content>
|
||||
<div class="max-w-[600px] text-[14px] text-[var(--color-text-1)]">
|
||||
{{ record.content }}
|
||||
</div>
|
||||
<div class="markdown-body" style="margin-left: 48px" v-html="record.content"> </div>
|
||||
</template>
|
||||
</a-popover>
|
||||
</template>
|
||||
|
|
|
@ -58,12 +58,10 @@
|
|||
<ms-base-table v-if="showType === 'link'" ref="tableRef" v-bind="linkPropsRes" v-on="linkTableEvent">
|
||||
<template #name="{ record }">
|
||||
<span class="one-line-text max-w-[300px]"> {{ record.name }}</span>
|
||||
<a-popover title="" position="right">
|
||||
<a-popover title="" position="right" style="width: 480px">
|
||||
<span class="ml-1 text-[rgb(var(--primary-5))]">{{ t('caseManagement.featureCase.preview') }}</span>
|
||||
<template #content>
|
||||
<div class="max-w-[600px] text-[14px] text-[var(--color-text-1)]">
|
||||
{{ record.content }}
|
||||
</div>
|
||||
<div class="markdown-body" style="margin-left: 48px" v-html="record.content"> </div>
|
||||
</template>
|
||||
</a-popover>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue