@@ -479,6 +479,10 @@ export function buildTree(list) {
for (const i in temp) {
// if (temp[i].pid !== 'Moudle_000000000000000000000000') {
if (temp[i].pid !== 0) {
+ if (!temp[temp[i].pid]) {
+ temp[temp[i].pid] = {}
+ }
+
if (!temp[temp[i].pid].children) {
temp[temp[i].pid].children = []
}