Browse Source

bug修复

王通 1 năm trước cách đây
mục cha
commit
ca843d442e
2 tập tin đã thay đổi với 3 bổ sung4 xóa
  1. 3 3
      src/views/firespread.vue
  2. 0 1
      src/views/forest.vue

+ 3 - 3
src/views/firespread.vue

@@ -2076,12 +2076,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",

+ 0 - 1
src/views/forest.vue

@@ -894,7 +894,6 @@
       },
       getLatestNotice() {
         getLatestNotice().then(res => {
-          debugger
           if (res.code == 200) {
             this.noticeContent = res.data.noticeContent //通知公告
           }