แก้ การ 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 () => {
|
onMounted(async () => {
|
||||||
const res = await fetchListBackup();
|
await fetchListBackup();
|
||||||
|
await backupRunningList(() => {});
|
||||||
if (!!res) {
|
await restoreRunningList(() => {});
|
||||||
await backupRunningList();
|
|
||||||
await restoreRunningList();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue