提交 e29939fd 编写于 作者: JunZai's avatar JunZai

update

上级 da95213b
......@@ -77,6 +77,7 @@ GanttElastic,
public options: any = {
isflex: true,
maxRows: 100,
dataType: 'treegrid',
title: {
label: ""
},
......@@ -192,12 +193,11 @@ GanttElastic,
return;
}
this.tasks = [...this.tasks, ...response.data];
// const _items = response.data;
// this.formatExpanded(_items);
// resolve([..._items]);
// let isRoot = Object.is(node.level,0);
// let isSelectedAll = node.checked;
// this.setDefaultSelection(_items, isRoot, isSelectedAll);
response.data.forEach((item: any) => {
if(!item.collapsed) {
this.load(item);
}
})
this.$emit("load", this.tasks);
}).catch((response: any) => {
if (response && response.status === 401) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册