fix: list integration

This commit is contained in:
riefive
2025-10-02 14:12:10 +07:00
parent fc3bda14f4
commit 693d8225bf
13 changed files with 91 additions and 22 deletions

No files matched your search

+3 -2
View File
@@ -33,7 +33,7 @@ export function createCrudHandler<T = any>(crud: {
if (refresh) refresh()
},
onFinally: (isSuccess: boolean) => {
if (isSuccess) setTimeout(reset, 500)
setTimeout(reset, 300)
isProcessing.value = false
},
})
@@ -58,7 +58,7 @@ export function createCrudHandler<T = any>(crud: {
if (refresh) refresh()
},
onFinally: (isSuccess: boolean) => {
if (isSuccess) setTimeout(reset, 500)
setTimeout(reset, 300)
isProcessing.value = false
},
})
@@ -77,6 +77,7 @@ export function createCrudHandler<T = any>(crud: {
if (refresh) refresh()
},
onFinally: () => {
setTimeout(refresh, 300)
isProcessing.value = false
},
})