fix(04): clear tree state when click path

This commit is contained in:
puriphatt 2024-08-22 15:46:33 +07:00
parent bd810b7502
commit 3f916bb4c3

View file

@ -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';