创建树状文件路由

时间:2018-07-30 11:37:55

标签: javascript angular

有这样一个模型:

export class Object{
    constructor(
        public object_id: number,
        public date: Date,
        public name: string,
        public comments: string,
        public objects_id: number,
        public object_type: number
    ) { }
}

ID object_idobjects_id是相关的。将objects_id分配给object_id,我可以构建树状文件输出。可以建议使用哪个模块或组件来实现此目的?

1 个答案:

答案 0 :(得分:0)

如果您正在寻找要构建树的软件包,请尝试安装Angular Tree Component并确保阅读Documentation