แก้ การ fetch backUp

This commit is contained in:
Net 2024-07-23 11:19:56 +07:00
parent 5e174efe16
commit b0337fc774

View file

@ -146,12 +146,9 @@ function onRestore(name: string) {
} }
onMounted(async () => { onMounted(async () => {
const res = await fetchListBackup(); await fetchListBackup();
await backupRunningList(() => {});
if (!!res) { await restoreRunningList(() => {});
await backupRunningList();
await restoreRunningList();
}
}); });
</script> </script>