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

View File

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

View File

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