fix(缺陷管理): 缺陷详情关联用例展示下拉菜单问题
--bug=1036499 --user=宋昌昌 【缺陷管理】缺陷详情-用例-点击关联用例-显示下拉选项 https://www.tapd.cn/55049933/s/1468300
This commit is contained in:
parent
bc9678eb90
commit
90c3fa1977
|
@ -1,14 +1,7 @@
|
|||
<template>
|
||||
<div>
|
||||
<div class="flex items-center justify-between">
|
||||
<a-dropdown @select="handleSelect">
|
||||
<a-button type="primary"> {{ t('caseManagement.featureCase.linkCase') }} </a-button>
|
||||
<template #content>
|
||||
<a-doption v-for="item of caseTypeOptions" :key="item.value" :value="item.value">{{
|
||||
t(item.label)
|
||||
}}</a-doption>
|
||||
</template>
|
||||
</a-dropdown>
|
||||
<a-button type="primary" @click="handleSelect">{{ t('caseManagement.featureCase.linkCase') }}</a-button>
|
||||
<a-input-search
|
||||
v-model:model-value="keyword"
|
||||
:placeholder="t('caseManagement.featureCase.searchByNameAndId')"
|
||||
|
@ -29,16 +22,9 @@
|
|||
<template v-if="(keyword || '').trim() === ''" #empty>
|
||||
<div class="flex w-full items-center justify-center">
|
||||
{{ t('caseManagement.caseReview.tableNoData') }}
|
||||
<a-dropdown @select="handleSelect">
|
||||
<MsButton class="ml-[8px]">
|
||||
<MsButton class="ml-[8px]" @click="handleSelect">
|
||||
{{ t('caseManagement.featureCase.linkCase') }}
|
||||
</MsButton>
|
||||
<template #content>
|
||||
<a-doption v-for="item of caseTypeOptions" :key="item.value" :value="item.value">{{
|
||||
t(item.label)
|
||||
}}</a-doption>
|
||||
</template>
|
||||
</a-dropdown>
|
||||
</div>
|
||||
</template>
|
||||
</ms-base-table>
|
||||
|
@ -193,7 +179,6 @@
|
|||
const getTableParams = ref<TableQueryParams>({});
|
||||
|
||||
function handleSelect(value: string | number | Record<string, any> | undefined) {
|
||||
currentSelectCase.value = value as string;
|
||||
innerVisible.value = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue