NEZ-1855 fix: 多个 group 折叠后 拖拽位置不对的问题

This commit is contained in:
zhangyu
2022-05-19 16:09:10 +08:00
parent 505f447bf9
commit 4971f63564
5 changed files with 10 additions and 14 deletions

View File

@@ -1743,7 +1743,6 @@ export default {
delete item.name
const nowImage = getTopologyImg(item.id) ? JSON.parse(getTopologyImg(item.id)) : ''
if (nowImage && nowImage.data) {
console.log(nowImage)
promiseArr.push(nowImage)
} else {
promiseArr.push(this.dealImg(`monitor/project/topo/icon/${item.id}/1`))
@@ -1751,7 +1750,6 @@ export default {
imgArr.push({ ...item })
})
Promise.all(promiseArr).then((res2, header) => {
console.log(res2, 'Promise')
this.iconArray = [...res.data.list]
this.iconArray.forEach((item, index) => {
item.image = res2[index].data