From 1cded29e225b3a73768d8badfc19fba825673451 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期三, 12 六月 2024 09:30:30 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
UI-Project/src/views/Identify/identify.vue | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/UI-Project/src/views/Identify/identify.vue b/UI-Project/src/views/Identify/identify.vue
index 2e2de95..9316fc9 100644
--- a/UI-Project/src/views/Identify/identify.vue
+++ b/UI-Project/src/views/Identify/identify.vue
@@ -76,12 +76,12 @@
adjustedRects.value = rawRects.map(rect => ({
...rect, // 澶嶅埗鍘熷瀵硅薄鐨勫叾浠栧睘鎬�
- x_axis: (rect.x_axis*100) * 0.005, // 灏唜鍊奸櫎浠�3
- y_axis: (rect.y_axis*100) * 0.005,
- width: (rect.width*100) * 0.004 ,
+ x_axis: (rect.x_axis*100) * 0.004, // 灏唜鍊奸櫎浠�3
+ y_axis: (rect.y_axis*100) * 0.004,
+ width: (rect.width*100) * 0.002 ,
widtha: rect.width ,
heighta: rect.height ,
- height:( rect.height*100) * 0.004 ,
+ height:( rect.height*100) * 0.002 ,
glass_state: rect.glass_state
}));
console.log(adjustedRects.value);
@@ -183,12 +183,12 @@
// adjustedRects.value = data.currentCutTerritory[0]
adjustedRects.value = data.currentCutTerritory[0].map(rect => ({
...rect, // 澶嶅埗鍘熷瀵硅薄鐨勫叾浠栧睘鎬�
- x_axis: (rect.x_axis*100) * 0.005, // 灏唜鍊奸櫎浠�3
- y_axis: (rect.y_axis*100) * 0.005,
- width: (rect.width*100) * 0.004 ,
+ x_axis: (rect.x_axis*100) * 0.004, // 灏唜鍊奸櫎浠�3
+ y_axis: (rect.y_axis*100) * 0.004,
+ width: (rect.width*100) * 0.002 ,
widtha: rect.width ,
heighta: rect.height ,
- height:( rect.height*100) * 0.004 ,
+ height:( rect.height*100) * 0.002 ,
glass_state: rect.glass_state
}));
// console.log("鏇存柊鍚庢暟鎹�", tableData);
--
Gitblit v1.8.0