From 5fa910bcb920d0f6e9bb751624c1369beb39f1e2 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Tue, 25 Jun 2024 16:05:51 +0700 Subject: [PATCH] feat: rotate flow --- src/pages/01_branch-management/MainPage.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pages/01_branch-management/MainPage.vue b/src/pages/01_branch-management/MainPage.vue index eb5b1037..a0b11fdc 100644 --- a/src/pages/01_branch-management/MainPage.vue +++ b/src/pages/01_branch-management/MainPage.vue @@ -23,6 +23,7 @@ import InfoForm from 'src/components/02_personnel-management/InfoForm.vue'; import { BranchWithChildren, BranchCreate } from 'stores/branch/types'; import { watch } from 'vue'; import { useI18n } from 'vue-i18n'; +import useFlowStore from 'src/stores/flow'; const { t } = useI18n(); @@ -75,6 +76,7 @@ const inputFile = (() => { })(); const branchStore = useBranchStore(); +const flowStore = useFlowStore(); const { locale } = useI18n(); const { data: branchData } = storeToRefs(branchStore); @@ -92,6 +94,8 @@ const treeData = computed(() => { onMounted(async () => { await branchStore.fetchList({ pageSize: 99999 }); + flowStore.rotate(); + const _stats = await branchStore.stats(); if (_stats) { @@ -354,6 +358,7 @@ async function onSubmit() { }, ]; } + flowStore.rotate(); } function changeTitle(