Browse Source

提交设备详情

wangming 2 tháng trước cách đây
mục cha
commit
c50dbd0f4b
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      src/pagesA/deviceDetail/deviceDetail.vue

+ 3 - 2
src/pagesA/deviceDetail/deviceDetail.vue

@@ -490,8 +490,9 @@ export default {
                                 this.targetPoints[id].displayY = y;
                             }
                         });
-                        this.targetPoints.forEach((key) => {
-                            const id = key;
+                        this.targetPoints.forEach((item) => {
+                            const id = item.id;
+                            console.log(item, id, 999999);
                             if (!currentIds.has(id)) {
                                 delete this.targetPoints[id];
                             }