移除 无效的属性组

This commit is contained in:
YuanFeng 2024-09-11 22:47:58 +08:00
parent f4c0e96bcb
commit 01819f1811
1 changed files with 2 additions and 0 deletions

View File

@ -1487,6 +1487,7 @@ const submitProp = (data) => {
newNode.attr('body/scaling', 'none')
data.cellIds.push(newNode.id)
graph.addNode(newNode)
}
removeGroup(data.groupId);
data.maxSize = Math.min(data.pointList.length, data.maxSize)
@ -1513,6 +1514,7 @@ const removeEmptyGroup = () => {
delIndex.push(i)
}
}
console.debug("delIndex", delIndex)
for (let i = 0; i < delIndex.length; i++) {
that.pageConfig.propList.splice(delIndex[i], 1)
}