fix(缺陷管理): 批量操作清空选中状态
This commit is contained in:
parent
5e53eaa84f
commit
d83a755b72
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue