|
@@ -18,7 +18,7 @@ export class SEquipmentItem extends SObjectItem {
|
|
|
}
|
|
|
set imgKey(v: string) {
|
|
|
this._imgKey = v;
|
|
|
- this.img.url = `http://localhost:8091/serve/topology-wanda/Picture/query/${v}`;
|
|
|
+ this.img.url = `/serve/topology-wanda/Picture/query/${v}`;
|
|
|
this.img.connect("imgLoadOver", this, () => {
|
|
|
// 抛出设备中的图片加载完成事件
|
|
|
this.$emit("equipImgLoadOver");
|
|
@@ -58,7 +58,7 @@ export class SEquipmentItem extends SObjectItem {
|
|
|
this.loadEquipment(epData);
|
|
|
} else if (epData) {
|
|
|
//绘制设备
|
|
|
- this.img.url = `http://localhost:8091/serve/topology-wanda/Picture/query/14d978b7edd346f088d6cfb53ada4070`;
|
|
|
+ this.img.url = `/serve/topology-wanda/Picture/query/14d978b7edd346f088d6cfb53ada4070`;
|
|
|
this.img.width = 24;
|
|
|
this.img.height = 24;
|
|
|
//添加设备
|