修改历史记录icon大小、修改出现报告提示语句
This commit is contained in:
@@ -34,7 +34,7 @@ export class NodeManager {
|
||||
|
||||
/** 删除节点 */
|
||||
deleteNode(id: string) {
|
||||
this.stateManager.getSubordinateAllNodes(id, { isElMessageBox: true })
|
||||
this.stateManager.deleteSubordinateAllNodes(id, { isElMessageBox: true })
|
||||
}
|
||||
/** 添加节点 */
|
||||
addNode(node: any) {
|
||||
@@ -146,6 +146,7 @@ export class NodeManager {
|
||||
const flowNode = this.stateManager.flowManager.getNodeById(id)
|
||||
if (!node) return console.warn(`${id}找不到对应节点`)
|
||||
if (node.data?.disableCopy) return console.warn(`${id}节点已禁用复制`)
|
||||
copyNode.data.data.imageProcessTasks = copyNode.data.data.imageProcessTasks.filter((item) => item.taskId === copyNode.data.data.selectTaskId)
|
||||
const node_ = {
|
||||
...copyNode,
|
||||
id: createId(),
|
||||
|
||||
Reference in New Issue
Block a user