fix(测试计划): 修复测试计划关联用例bug
This commit is contained in:
parent
8104540ebd
commit
91d850a36a
|
@ -135,9 +135,9 @@
|
|||
@check="checkNode"
|
||||
>
|
||||
<div class="flex items-center justify-between">
|
||||
<a-checkbox v-model:model-value="isCheckedAll" :indeterminate="indeterminate" @change="checkAllModule">{{
|
||||
t('ms.case.associate.allData')
|
||||
}}</a-checkbox>
|
||||
<a-checkbox v-model:model-value="isCheckedAll" :indeterminate="indeterminate" @change="checkAllModule">
|
||||
{{ t('ms.case.associate.allData') }}
|
||||
</a-checkbox>
|
||||
<span class="pr-[8px] text-[var(--color-text-brand)]">
|
||||
{{ modulesCount.all }}
|
||||
</span>
|
||||
|
|
|
@ -209,7 +209,6 @@ export default function useModuleSelections<T>(
|
|||
const resultIds = (moduleSelectedMap.value[moduleId] || []).filter((id) => !selectedProps.excludeIds.has(id));
|
||||
// 取消加了排除ids此刻全选状态为false,并且排除当前页ids,则从所有列表里边收集到模块ids
|
||||
resultIds.forEach((e) => {
|
||||
innerSelectedModulesMaps[moduleId].selectIds.add(e);
|
||||
innerSelectedModulesMaps[moduleId].excludeIds.delete(e);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue