fix(04): clear tree state when click path
This commit is contained in:
parent
bd810b7502
commit
3f916bb4c3
1 changed files with 2 additions and 0 deletions
|
|
@ -1344,6 +1344,7 @@ watch(
|
|||
productMode.value = 'group';
|
||||
expandedTree.value = [];
|
||||
currentIdGrop.value = '';
|
||||
currentIdType.value = '';
|
||||
filterStat.value = [];
|
||||
},
|
||||
},
|
||||
|
|
@ -1359,6 +1360,7 @@ watch(
|
|||
i18n: true,
|
||||
argsi18n: { name: pathGroupName.value },
|
||||
handler: () => {
|
||||
currentIdType.value = '';
|
||||
productMode.value = 'type';
|
||||
filterStat.value = filterStat.value.filter((item) => {
|
||||
return item !== 'type';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue