Merge branch 'cjc' into 'main'
修改指针高亮的bug See merge request phenomLi/StructV2!20
This commit is contained in:
commit
54a4a98e75
@ -77,7 +77,7 @@ export class SVLink extends SVModel {
|
||||
}
|
||||
|
||||
isEqual(link: SVLink): boolean {
|
||||
return link.targetId === this.targetId && link.nodeId === this.nodeId && link.linkIndex === this.linkIndex;
|
||||
return (link.sourceType.includes(this.sourceType.toLocaleLowerCase())|| this.sourceType.includes(link.sourceType.toLowerCase())) && link.targetId === this.targetId && link.nodeId === this.nodeId && link.linkIndex === this.linkIndex;
|
||||
}
|
||||
|
||||
beforeDestroy(): void {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user