From e20ddf985f5ead70c1b6b87abd928e9c7a56112c Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Mon, 15 Jul 2024 14:31:17 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=AD=E0=B8=B2=20tab=20restore=20?= =?UTF-8?q?=E0=B8=AD=E0=B8=AD=E0=B8=81=20=E0=B9=83=E0=B8=AB=E0=B9=89?= =?UTF-8?q?=E0=B8=AD=E0=B8=A2=E0=B8=B9=E0=B9=88=E0=B8=AB=E0=B8=99=E0=B9=89?= =?UTF-8?q?=E0=B8=B2=E0=B9=80=E0=B8=94=E0=B8=B5=E0=B8=A2=E0=B8=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../04_system/components/cardBackupRestore.vue | 17 ++++++++--------- src/modules/04_system/views/MainView.vue | 1 - 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/modules/04_system/components/cardBackupRestore.vue b/src/modules/04_system/components/cardBackupRestore.vue index d522b14e..0aee35fe 100644 --- a/src/modules/04_system/components/cardBackupRestore.vue +++ b/src/modules/04_system/components/cardBackupRestore.vue @@ -23,7 +23,7 @@ const { showLoader, hideLoader, date2Thai, dialogRemove, dialogConfirm } = useCounterMixin(); const { fetchListBackup, createBackUp, restore, deleteBackUp } = useDataStore(); const storeData = useDataStore(); -const { dataBackUp, backupRunTotal , restoreRunTotal } = storeToRefs(storeData); +const { dataBackUp, backupRunTotal, restoreRunTotal } = storeToRefs(storeData); /** * props @@ -113,7 +113,6 @@ function onRestore(name: string) { onMounted(async () => { setTimeout(() => { - fetchListBackup(); }, 1000); }); @@ -171,16 +170,18 @@ onMounted(async () => { >