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',
|
text: 'branchManagementCaption',
|
||||||
i18n: true,
|
i18n: true,
|
||||||
handler: () => {
|
handler: () => {
|
||||||
|
expandedTree.value = expandedTree.value.filter(
|
||||||
|
(i) => currentHq.value.id !== i,
|
||||||
|
);
|
||||||
|
|
||||||
fieldSelectedBranch.value.value = 'branchHQLabel';
|
fieldSelectedBranch.value.value = 'branchHQLabel';
|
||||||
currentHq.value = {
|
currentHq.value = {
|
||||||
id: '',
|
id: '',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue