Merge branch 'cjc' into 'main'
修改变化的边高亮的bug See merge request phenomLi/StructV2!21
This commit is contained in:
commit
87a39945d0
@ -1,6 +1,6 @@
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const sourcePath = 'D:\\个人项目\\v\\StructV2\\dist\\sv.js';
|
const sourcePath = 'E:\\研究生\\StructV2\\dist\\sv.js';
|
||||||
const targetPath = 'D:\\个人项目\\froend_student\\src\\pages\\student\\assets\\js\\sv.js'
|
const targetPath = 'E:\\研究生\\froend_student\\src\\pages\\student\\assets\\js\\sv.js'
|
||||||
|
|
||||||
|
|
||||||
function COPY(from, to) {
|
function COPY(from, to) {
|
||||||
|
@ -77,7 +77,7 @@ export class SVLink extends SVModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
isEqual(link: SVLink): boolean {
|
isEqual(link: SVLink): boolean {
|
||||||
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;
|
return (link.sourceType.toLowerCase().includes(this.sourceType.toLocaleLowerCase())|| this.sourceType.toLowerCase().includes(link.sourceType.toLowerCase())) && link.targetId === this.targetId && link.nodeId === this.nodeId && link.linkIndex === this.linkIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
beforeDestroy(): void {
|
beforeDestroy(): void {
|
||||||
|
Loading…
Reference in New Issue
Block a user