feat: add refresh button

This commit is contained in:
huzibaca
2024-11-13 00:53:52 +08:00
parent 7f34073da6
commit 272ee7577c
2 changed files with 27 additions and 12 deletions

View File

@@ -120,6 +120,9 @@ export const BackupViewer = forwardRef<DialogRef>((props, ref) => {
onSaveSuccess={async () => {
fetchAndSetBackupFiles();
}}
onRefresh={async () => {
fetchAndSetBackupFiles();
}}
onInit={async () => {
fetchAndSetBackupFiles();
}}