refactor: handler tree

This commit is contained in:
Net 2024-08-09 10:54:03 +07:00
parent 46ce2e5296
commit fa5e2b0d3e

View file

@ -644,6 +644,10 @@ watch(currentHq, () => {
text: 'branchManagementCaption',
i18n: true,
handler: () => {
expandedTree.value = expandedTree.value.filter(
(i) => currentHq.value.id !== i,
);
fieldSelectedBranch.value.value = 'branchHQLabel';
currentHq.value = {
id: '',