添加了对table tree的菜单的动态控制

Signed-off-by: ghuazh <ghuazh@gmail.com>