fix: แก้จำนวนสาขาไม่อัป

This commit is contained in:
Net 2024-04-19 14:52:14 +07:00
parent bab5f0631f
commit 5a6c020d77

View file

@ -420,6 +420,20 @@ async function onSubmit() {
modal.value = false;
}
}
const _stats = await branchStore.stats();
if (_stats) {
stats.value[0] = {
count: _stats.hq,
label: 'branchHQLabel',
};
stats.value[1] = {
count: _stats.br,
label: 'branchLabel',
};
}
}
function changeTitle(