diff --git a/src/pages/01_branch-management/MainPage.vue b/src/pages/01_branch-management/MainPage.vue index b77305d0..0e05fda1 100644 --- a/src/pages/01_branch-management/MainPage.vue +++ b/src/pages/01_branch-management/MainPage.vue @@ -91,7 +91,7 @@ const selected = ref(''); const expanded = ref([]); -const branchStat = ref<{ amount: number; label: string }[]>([]); +const branchStats = ref<{ amount: number; label: string }[]>([]); const treeData = ref([]); @@ -414,11 +414,11 @@ onMounted(async () => { const result = await branchStore.stats(); if (result) { - branchStat.value.push({ + branchStats.value.push({ amount: result.hq, label: 'branchHQLabel', }); - branchStat.value.push({ + branchStats.value.push({ amount: result.br, label: 'branchLabel', }); @@ -436,7 +436,7 @@ onMounted(async () => { class="q-mb-md" :class="{ 'bg-card-branch-title': $q.dark.isActive }" > - +