Browse Source

提交设备详情

wangming 2 months ago
parent
commit
c50dbd0f4b
1 changed files with 3 additions and 2 deletions
  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];
                             }