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