feat: rotate log id
This commit is contained in:
parent
f46b7868fa
commit
83831988dd
3 changed files with 29 additions and 2 deletions
|
|
@ -293,7 +293,6 @@ async function triggerEdit(
|
|||
}
|
||||
|
||||
function triggerDelete(id: string) {
|
||||
fetchBranchById(id);
|
||||
if (id) {
|
||||
dialog({
|
||||
color: 'negative',
|
||||
|
|
@ -306,6 +305,7 @@ function triggerDelete(id: string) {
|
|||
await branchStore.deleteById(id);
|
||||
await branchStore.fetchList({ pageSize: 99999 });
|
||||
modalDrawer.value = false;
|
||||
flowStore.rotate();
|
||||
},
|
||||
cancel: () => {},
|
||||
});
|
||||
|
|
@ -954,7 +954,7 @@ watch(locale, () => {
|
|||
:editData="() => drawerEdit()"
|
||||
:submit="() => onSubmit()"
|
||||
:delete-data="() => triggerDelete(currentEdit.id)"
|
||||
:close="() => (modalDrawer = false)"
|
||||
:close="() => ((modalDrawer = false), flowStore.rotate())"
|
||||
:statusBranch="formData.status"
|
||||
>
|
||||
<template #info>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue