Commit 97b950ad by xinla

Merge branch 'front_end_dev' into front_end_dev_1.5

2 parents d3c7e855 890c1ce3
...@@ -73,13 +73,15 @@ export default { ...@@ -73,13 +73,15 @@ export default {
// }); // });
}) })
} else { } else {
getList({ department: node.data.id }).then(({ rows }) => { getList({ department: node.data.id, isActivate: 1 }).then(
({ rows }) => {
rows.forEach((element) => { rows.forEach((element) => {
element.key = createUniqueString() element.key = createUniqueString()
}) })
node.data.children && rows.push(...node.data.children) node.data.children && rows.push(...node.data.children)
resolve(rows) resolve(rows)
}) }
)
} }
}, },
// 选择变化 // 选择变化
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!