فهرست منبع

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 {