fix(缺陷管理): 批量操作清空选中状态

This commit is contained in:
song-cc-rock 2024-03-26 14:14:43 +08:00 committed by 刘瑞斌
parent 5e53eaa84f
commit d83a755b72
1 changed files with 7 additions and 1 deletions

View File

@ -202,7 +202,7 @@
v-model:visible="batchEditVisible" v-model:visible="batchEditVisible"
:select-param="currentSelectParams" :select-param="currentSelectParams"
:custom-fields="customFields" :custom-fields="customFields"
@submit="fetchData" @submit="batchEditConfirm"
/> />
</template> </template>
@ -577,6 +577,11 @@
} }
}; };
const batchEditConfirm = () => {
resetSelector();
fetchData();
};
const handleCreate = () => { const handleCreate = () => {
router.push({ router.push({
name: RouteEnum.BUG_MANAGEMENT_DETAIL, name: RouteEnum.BUG_MANAGEMENT_DETAIL,
@ -716,6 +721,7 @@
}; };
await deleteBatchBug(tmpObj); await deleteBatchBug(tmpObj);
Message.success(t('common.deleteSuccess')); Message.success(t('common.deleteSuccess'));
resetSelector();
fetchData(); fetchData();
} catch (error) { } catch (error) {
// eslint-disable-next-line no-console // eslint-disable-next-line no-console