|
|
@@ -516,14 +516,11 @@ export default {
|
|
|
modules.forEach((item) => {
|
|
|
// 1️⃣ 计算家具在参考系中的矩形
|
|
|
const rect = convert_furniture_r2c(item, pRadar);
|
|
|
-
|
|
|
- console.log(rect, 777777);
|
|
|
const rotatedRect = rotateRect_cw(
|
|
|
rect,
|
|
|
pRadar,
|
|
|
pRadar.angle
|
|
|
);
|
|
|
- console.log(rotatedRect, "9999999");
|
|
|
item.left = rotatedRect.left;
|
|
|
item.top = rotatedRect.top;
|
|
|
item.width = rotatedRect.width;
|
|
|
@@ -532,7 +529,6 @@ export default {
|
|
|
item.type = item.type;
|
|
|
});
|
|
|
this.modules = JSON.parse(JSON.stringify(modules));
|
|
|
- console.log(this.modules, 88888);
|
|
|
});
|
|
|
},
|
|
|
// 处理设备状态灯
|