Commit 6aa50646 by zhaochengxiang

资产变更目录问题

parent 43a69b26
...@@ -311,7 +311,11 @@ const AssetManageTree = (props) => { ...@@ -311,7 +311,11 @@ const AssetManageTree = (props) => {
} }
for (let i = 0; i < treeData.length; i++) { for (let i = 0; i < treeData.length; i++) {
const node = treeData[i];
const channelTreeData = treeData[i];
if (channelTreeData.children) {
for (let j =0; j < channelTreeData.children.length; j++) {
const node = channelTreeData.children[j];
const { nodeId } = node; const { nodeId } = node;
const groupItem = [nodeId]; const groupItem = [nodeId];
...@@ -321,6 +325,8 @@ const AssetManageTree = (props) => { ...@@ -321,6 +325,8 @@ const AssetManageTree = (props) => {
list.push(groupItem); list.push(groupItem);
} }
}
}
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment