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';
|
productMode.value = 'group';
|
||||||
expandedTree.value = [];
|
expandedTree.value = [];
|
||||||
currentIdGrop.value = '';
|
currentIdGrop.value = '';
|
||||||
|
currentIdType.value = '';
|
||||||
filterStat.value = [];
|
filterStat.value = [];
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -1359,6 +1360,7 @@ watch(
|
||||||
i18n: true,
|
i18n: true,
|
||||||
argsi18n: { name: pathGroupName.value },
|
argsi18n: { name: pathGroupName.value },
|
||||||
handler: () => {
|
handler: () => {
|
||||||
|
currentIdType.value = '';
|
||||||
productMode.value = 'type';
|
productMode.value = 'type';
|
||||||
filterStat.value = filterStat.value.filter((item) => {
|
filterStat.value = filterStat.value.filter((item) => {
|
||||||
return item !== 'type';
|
return item !== 'type';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue