Commit b026fef9 by zhaochengxiang

资产地图

parent f72c81d2
......@@ -86,7 +86,7 @@ class MapContent extends React.Component {
data.forEach((item, index) => {
if (item.dbType==='Dir') {
item.text = item.dirName||'';
item.id = `d${parentDirId}${item.dirId||''}`;
item.id = `d${parentDirId}${item.dirId||''}${index}`;
} else {
let assetCnName = '';
......@@ -97,7 +97,7 @@ class MapContent extends React.Component {
})
item.text = assetCnName||'';
item.id = `t${parentDirId}${item.id||''}`;
item.id = `t${parentDirId}${item.id||''}${index}`;
}
if (item.children) {
......
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