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