fix: list integration

This commit is contained in:
riefive
2025-10-04 08:30:17 +07:00
parent 6feb480a51
commit 3c046a4d82
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
},
})