แก้ ชื่อ stores
This commit is contained in:
parent
0948445ed6
commit
f8d9b0ecc1
3 changed files with 6 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ const {
|
|||
dialogConfirm,
|
||||
} = mixin;
|
||||
|
||||
export const useDataStore = defineStore("storeData", () => {
|
||||
export const useDataStore = defineStore("logStore", () => {
|
||||
const size = ref<number>(30);
|
||||
const logData = ref<ResLog[]>([]);
|
||||
const systemName = ref<string>("JWS-SOS");
|
||||
|
|
|
|||
|
|
@ -112,7 +112,10 @@ function onRestore(name: string) {
|
|||
}
|
||||
|
||||
onMounted(async () => {
|
||||
await fetchListBackup();
|
||||
setTimeout(() => {
|
||||
|
||||
fetchListBackup();
|
||||
}, 1000);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ const {
|
|||
dialogConfirm,
|
||||
} = mixin;
|
||||
|
||||
export const useDataStore = defineStore("storeData", () => {
|
||||
export const useDataStore = defineStore("systemStore", () => {
|
||||
const dataBackUp = ref<DataBackup[]>([]);
|
||||
const prevBackupRunTotal = ref<number>(-1);
|
||||
const backupRunTotal = ref<number>(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue