refactor: handler tree
This commit is contained in:
parent
46ce2e5296
commit
fa5e2b0d3e
1 changed files with 4 additions and 0 deletions
|
|
@ -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: '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue