修改菜单问题

This commit is contained in:
qiankunpingtai
2019-11-06 15:49:59 +08:00
parent 5f3501a569
commit 3e3c1d75d9
2 changed files with 11 additions and 9 deletions

View File

@@ -48,16 +48,17 @@
}
}
//cnodes = cnodes.substring(0, cnodes.length - 1);
pnodes = pnodes.substring(0, pnodes.length - 1);
// pnodes = pnodes.substring(0, pnodes.length - 1);
if (ctype == 'child') {
return cnodes;
}
else {
return pnodes
else if("all"){
return cnodes+pnodes;
}else{
return pnodes;
}
;
};
}
$(function () {
@@ -84,7 +85,7 @@
info: JSON.stringify({
type: type,
keyid: url_id,
value: GetNode('child')
value: GetNode('all')
})
},
dataType: "json",