一个动态生成树形菜单的js框架 Functions add() Addsanodetothetree. Canonlybecalledbeforethetreeisdrawn. id,pidandnamearerequired. Parameters Name Type Description idNumberU