|
@@ -56,6 +56,7 @@ export class SBaseEquipment extends SBaseIconTextEdit {
|
|
|
return this._infoPointList
|
|
|
} // get infoPointList()
|
|
|
|
|
|
+ defaultUrl:string = '';
|
|
|
/** 图得url */
|
|
|
_url: string = '';
|
|
|
set url(val) {
|
|
@@ -132,7 +133,7 @@ export class SBaseEquipment extends SBaseIconTextEdit {
|
|
|
}
|
|
|
|
|
|
this.showAnchor = false;
|
|
|
- this.url = this.legendData.style.default.base64Url ? this.legendData.style.default.base64Url : this.legendData.style.default.url
|
|
|
+ // this.url = this.legendData.style.default.base64Url ? this.legendData.style.default.base64Url : this.legendData.style.default.url
|
|
|
this.anotherMsg = this.legendData.properties.anotherMsg ? this.legendData.properties.anotherMsg : '';
|
|
|
this.x = this.legendData.pos.x;
|
|
|
this.y = this.legendData.pos.y;
|
|
@@ -250,7 +251,7 @@ export class SBaseEquipment extends SBaseIconTextEdit {
|
|
|
this.legendData.properties.infoPointList = infoPoinList;
|
|
|
this.legendData.properties.anotherMsg = this.anotherMsg;
|
|
|
this.legendData.style.default.base64Url = "";
|
|
|
- this.legendData.style.default.url = this.url;
|
|
|
+ this.legendData.style.default.url = this.defaultUrl;
|
|
|
return this.legendData
|
|
|
}
|
|
|
}
|