fix: 04 q-tree clear current value
This commit is contained in:
parent
9429fac0e3
commit
708408a252
1 changed files with 2 additions and 0 deletions
|
|
@ -1466,10 +1466,12 @@ watch(
|
||||||
}
|
}
|
||||||
|
|
||||||
if (currentIdGrop === node.id) {
|
if (currentIdGrop === node.id) {
|
||||||
|
expandedTree = [];
|
||||||
expandedTree = expandedTree.filter(
|
expandedTree = expandedTree.filter(
|
||||||
(i) => node.id !== i,
|
(i) => node.id !== i,
|
||||||
);
|
);
|
||||||
currentIdGrop = '';
|
currentIdGrop = '';
|
||||||
|
currentIdType = '';
|
||||||
productMode = 'group';
|
productMode = 'group';
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue