fix: sync
This commit is contained in:
parent
f753bdd3c0
commit
3d741441e2
|
|
@ -399,7 +399,7 @@ const Sync = () => {
|
|||
// 加载生成记录
|
||||
useEffect(() => {
|
||||
if (user?.id) {
|
||||
loadGenerations({ userId: user.id })
|
||||
loadGenerations()
|
||||
}
|
||||
}, [user?.id, loadGenerations])
|
||||
|
||||
|
|
@ -630,7 +630,7 @@ const Sync = () => {
|
|||
|
||||
// 刷新列表
|
||||
if (user?.id) {
|
||||
loadGenerations({ userId: user.id })
|
||||
loadGenerations()
|
||||
}
|
||||
}, [selectedItem, runTemplate, user?.id, loadGenerations])
|
||||
|
||||
|
|
@ -667,7 +667,7 @@ const Sync = () => {
|
|||
|
||||
// 刷新列表
|
||||
if (user?.id) {
|
||||
await loadGenerations({ userId: user.id })
|
||||
await loadGenerations()
|
||||
}
|
||||
|
||||
setSelectedIds(new Set())
|
||||
|
|
|
|||
Loading…
Reference in New Issue