From ac8ac8f6cc700a49c2d34328575bb0e9fd7dbb88 Mon Sep 17 00:00:00 2001 From: suixy <2277317060@qq.com> Date: Thu, 16 Apr 2026 17:50:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A7=92=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/tool.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/tool.js b/src/utils/tool.js index fc39e86..0b82ea8 100644 --- a/src/utils/tool.js +++ b/src/utils/tool.js @@ -40,7 +40,9 @@ function calcRectangleFromPoints(points) { // const angleDeg = leftAngleRad * 180 / Math.PI - bottomAngleRad * 180 / Math.PI; // const angleDeg = bottomAngleRad * 180 / Math.PI; const angleDeg = leftAngleRad * 180 / Math.PI; - console.log(angleDeg) + console.log('1----', leftAngleRad * 180 / Math.PI - bottomAngleRad * 180 / Math.PI) + console.log('2----', bottomAngleRad * 180 / Math.PI) + console.log('3----', leftAngleRad * 180 / Math.PI) return { width: Number(width.toFixed(2)), height: Number(height.toFixed(2)), angle: Number(angleDeg.toFixed(6)) };