mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-03 16:23:58 +00:00
fix
This commit is contained in:
@@ -146,6 +146,9 @@ export abstract class PerspectiveTreeNode {
|
|||||||
get preloadedLevelData() {
|
get preloadedLevelData() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
get findByDesignerIdWithoutDesignerId() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
matchChildRow(parentRow: any, childRow: any): boolean {
|
matchChildRow(parentRow: any, childRow: any): boolean {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -219,7 +222,7 @@ export abstract class PerspectiveTreeNode {
|
|||||||
|
|
||||||
get hasUncheckedNodeInPath() {
|
get hasUncheckedNodeInPath() {
|
||||||
if (!this.parentNode) return false;
|
if (!this.parentNode) return false;
|
||||||
if (!this.isCheckedNode) return true;
|
if (this.designerId && !this.isCheckedNode) return true;
|
||||||
return this.parentNode.hasUncheckedNodeInPath;
|
return this.parentNode.hasUncheckedNodeInPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -413,7 +416,7 @@ export abstract class PerspectiveTreeNode {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
findNodeByDesignerId(designerId: string): PerspectiveTreeNode {
|
findNodeByDesignerId(designerId: string): PerspectiveTreeNode {
|
||||||
if (!this.designerId) {
|
if (!this.designerId && !this.findByDesignerIdWithoutDesignerId) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (!designerId) {
|
if (!designerId) {
|
||||||
@@ -774,6 +777,10 @@ export class PerspectivePatternColumnNode extends PerspectiveTreeNode {
|
|||||||
return this.parentNode instanceof PerspectivePatternColumnNode;
|
return this.parentNode instanceof PerspectivePatternColumnNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get findByDesignerIdWithoutDesignerId() {
|
||||||
|
return this.isExpandable;
|
||||||
|
}
|
||||||
|
|
||||||
matchChildRow(parentRow: any, childRow: any): boolean {
|
matchChildRow(parentRow: any, childRow: any): boolean {
|
||||||
console.log('MATCH PATTENR ROW', parentRow, childRow);
|
console.log('MATCH PATTENR ROW', parentRow, childRow);
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user