Przeglądaj źródła

SGraphItem 去掉 data 中触发initdata方法

YaolongHan 4 lat temu
rodzic
commit
f79a886dba
1 zmienionych plików z 1 dodań i 1 usunięć
  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 {