|
@@ -97,7 +97,7 @@ export default {
|
|
|
obj.style.default.url =
|
|
|
window.img_baseurl +
|
|
|
"/image-service/common/image_get?systemId=dataPlatform&key=" +
|
|
|
- obj.style.default.url;
|
|
|
+ obj.properties.state[1].pic;
|
|
|
} else {
|
|
|
// 默认图标
|
|
|
obj.style.default.url =
|
|
@@ -158,6 +158,15 @@ export default {
|
|
|
this.scene.addItem(t);
|
|
|
});
|
|
|
this.fixWindow();
|
|
|
+
|
|
|
+ setTimeout(() => {
|
|
|
+ parse.nodes.forEach((item) => {
|
|
|
+ item.url =
|
|
|
+ window.img_baseurl +
|
|
|
+ "/image-service/common/image_get?systemId=dataPlatform&key=" +
|
|
|
+ item.data.properties.state[2].pic;
|
|
|
+ });
|
|
|
+ }, 5000);
|
|
|
},
|
|
|
// 读图成功回调
|
|
|
statDeviceIds(res) {
|