fix(测试计划): 缺陷列表-名称过长样式&基本信息为空的缺陷

--bug=1042899 --user=吕梦园
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001042899
--bug=1042918 --user=吕梦园
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001042918
This commit is contained in:
teukkk 2024-06-24 14:31:51 +08:00 committed by 刘瑞斌
parent b476a5cf07
commit 87a30e8874
3 changed files with 7 additions and 7 deletions

View File

@ -91,7 +91,7 @@
</MsButton>
</div>
</template>
<template #default="{ detail }">
<template #default>
<div
ref="wrapperRef"
:class="[
@ -130,7 +130,7 @@
v-if="activeTab === 'basicInfo'"
v-model:tags="tags"
:form-rule="formRules"
:detail="detail"
:detail="detailInfo"
:current-platform="props.currentPlatform"
:is-platform-default-template="isPlatformDefaultTemplate"
:loading="rightLoading"

View File

@ -1,6 +1,8 @@
<template>
<a-tooltip :content="props.name">
<div class="one-line-text max-w-[calc(100%-32px)]"> {{ props.name }}</div>
<a-popover class="bug-content-popover" title="" position="right" style="width: 480px" tri>
</a-tooltip>
<a-popover class="bug-content-popover" title="" position="right" style="width: 480px">
<span class="ml-1 text-[rgb(var(--primary-5))]">{{ t('caseManagement.featureCase.preview') }}</span>
<template #content>
<div v-dompurify-html="props.content" class="markdown-body bug-content"> </div>
@ -9,8 +11,6 @@
</template>
<script setup lang="ts">
import { ref } from 'vue';
import { useI18n } from '@/hooks/useI18n';
const { t } = useI18n();

View File

@ -149,7 +149,7 @@
const { propsRes, propsEvent, loadList, setLoadListParams, resetSelector } = useTable(
getDrawerDebugPage,
{
scroll: { x: 'auto' },
scroll: { x: '100%' },
columns,
tableKey: TableKeyEnum.CASE_MANAGEMENT_TAB_DEFECT,
selectable: true,