fix(用例管理): 用例详情关联缺陷快速点击重复关联问题
--bug=1036124 --user=王旭 【用例管理】用例详情关联缺陷快速点击关联按钮导致关联多个相同缺陷 https://www.tapd.cn/55049933/s/1470843
This commit is contained in:
parent
f870faefca
commit
2faca1af64
|
@ -23,8 +23,8 @@
|
|||
class="mx-[8px] w-[240px]"
|
||||
@search="searchList"
|
||||
@press-enter="searchList"
|
||||
></a-input-search
|
||||
></div>
|
||||
></a-input-search>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<ms-base-table ref="tableRef" v-bind="propsRes" v-on="propsEvent">
|
||||
|
@ -135,6 +135,15 @@
|
|||
|
||||
const keyword = ref<string>('');
|
||||
|
||||
const showDrawer = computed({
|
||||
get() {
|
||||
return props.visible;
|
||||
},
|
||||
set(value) {
|
||||
emit('update:visible', value);
|
||||
},
|
||||
});
|
||||
|
||||
function handleDrawerConfirm() {
|
||||
const { excludeKeys, selectedKeys, selectorStatus } = propsRes.value;
|
||||
const params = {
|
||||
|
@ -147,21 +156,14 @@
|
|||
combine: {},
|
||||
caseId: props.caseId,
|
||||
};
|
||||
showDrawer.value = false;
|
||||
emit('save', params);
|
||||
}
|
||||
|
||||
function handleDrawerCancel() {
|
||||
resetSelector();
|
||||
}
|
||||
|
||||
const showDrawer = computed({
|
||||
get() {
|
||||
return props.visible;
|
||||
},
|
||||
set(value) {
|
||||
emit('update:visible', value);
|
||||
},
|
||||
});
|
||||
|
||||
function getFetch() {
|
||||
setLoadListParams({ keyword: keyword.value, projectId: currentProjectId.value, sourceId: props.caseId });
|
||||
loadList();
|
||||
|
|
Loading…
Reference in New Issue