Browse Source

事件列表图片加载失败 显示默认图片
事件详情地图聚合问题

王通 1 year ago
parent
commit
88a017c092
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/firespread.vue

+ 3 - 3
src/views/firespread.vue

@@ -6026,12 +6026,12 @@ export default {
           obj.type = data.type;
           obj.count = data.num;
           obj.icon = icon;
-          _this.resourcesList.push(obj);
+          _this.resourcesList1.push(obj);
           console.log("icon_" + (index + 1) + "=", icon);
           //每个图标对应固定颜色
-          _this.$set(_this.resourcesList[index], "bg", getIconBg(icon));
+          _this.$set(_this.resourcesList1[index], "bg", getIconBg(icon));
         });
-        _this.resourcesList.push({
+        _this.resourcesList1.push({
           resourceName: "摄像头",
           type: "sxt",
           count: "1",