แก้ การ fetch backUp
This commit is contained in:
parent
5e174efe16
commit
b0337fc774
1 changed files with 3 additions and 6 deletions
|
|
@ -146,12 +146,9 @@ function onRestore(name: string) {
|
|||
}
|
||||
|
||||
onMounted(async () => {
|
||||
const res = await fetchListBackup();
|
||||
|
||||
if (!!res) {
|
||||
await backupRunningList();
|
||||
await restoreRunningList();
|
||||
}
|
||||
await fetchListBackup();
|
||||
await backupRunningList(() => {});
|
||||
await restoreRunningList(() => {});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue