diff --git a/src/modules/03_logs/stores/main.ts b/src/modules/03_logs/stores/main.ts index 96c6b86a..a9b57f61 100644 --- a/src/modules/03_logs/stores/main.ts +++ b/src/modules/03_logs/stores/main.ts @@ -19,7 +19,7 @@ const { dialogConfirm, } = mixin; -export const useDataStore = defineStore("storeData", () => { +export const useDataStore = defineStore("logStore", () => { const size = ref(30); const logData = ref([]); const systemName = ref("JWS-SOS"); diff --git a/src/modules/04_system/components/cardBackupRestore.vue b/src/modules/04_system/components/cardBackupRestore.vue index 03d49bd3..d522b14e 100644 --- a/src/modules/04_system/components/cardBackupRestore.vue +++ b/src/modules/04_system/components/cardBackupRestore.vue @@ -112,7 +112,10 @@ function onRestore(name: string) { } onMounted(async () => { - await fetchListBackup(); + setTimeout(() => { + + fetchListBackup(); + }, 1000); }); diff --git a/src/modules/04_system/stores/main.ts b/src/modules/04_system/stores/main.ts index 60f6320e..131b4940 100644 --- a/src/modules/04_system/stores/main.ts +++ b/src/modules/04_system/stores/main.ts @@ -21,7 +21,7 @@ const { dialogConfirm, } = mixin; -export const useDataStore = defineStore("storeData", () => { +export const useDataStore = defineStore("systemStore", () => { const dataBackUp = ref([]); const prevBackupRunTotal = ref(-1); const backupRunTotal = ref(0);