소스 검색

SGraphItem 去掉 data 中触发initdata方法

YaolongHan 4 년 전
부모
커밋
f79a886dba
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      persagy-web-graph/src/SGraphItem.ts

+ 1 - 1
persagy-web-graph/src/SGraphItem.ts

@@ -215,7 +215,7 @@ export class SGraphItem extends SObject {
     private _data: any | null = null;
     set data(d: any) {
         this._data = d;
-        this.initData();
+        // this.initData();
         this.update();
     }
     get data(): any | null {