Compare commits
2 Commits
38045a1027
...
3214ef1cc4
Author | SHA1 | Date | |
---|---|---|---|
|
3214ef1cc4 | ||
|
78507c2b91 |
@ -60,6 +60,8 @@ export interface GraphicQueryStore {
|
|||||||
code: string,
|
code: string,
|
||||||
type: string
|
type: string
|
||||||
): T[];
|
): T[];
|
||||||
|
|
||||||
|
checkIdExist(v: number): boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -208,4 +210,8 @@ export class GraphicStore implements GraphicQueryStore {
|
|||||||
this.relationManage.clear();
|
this.relationManage.clear();
|
||||||
this.store.clear();
|
this.store.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
checkIdExist(id: number) {
|
||||||
|
return this.store.has(id)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user