001
This commit is contained in:
@@ -9,7 +9,7 @@ export function getParentNode(id){
|
||||
let menuList = JSON.parse(sessionStorage.getItem("menu"));
|
||||
for (let menu of menuList) {
|
||||
for (let child of menu.children) {
|
||||
if (id == item.encodeId){
|
||||
if (id == child.encodeId){
|
||||
menu.children=[]
|
||||
child.children=[]
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user