From 1ed302bbb447e6c1c5870f0996b71697d04711bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Wed, 30 Oct 2024 17:17:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B94F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/cs/index2.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/cs/index2.vue b/src/views/cs/index2.vue index f9c8dc7..645bfa1 100644 --- a/src/views/cs/index2.vue +++ b/src/views/cs/index2.vue @@ -302,7 +302,8 @@ export default { y: (72000 - (v.Y - 116000)) / this.siteData.y, rotate: v.Angle, isGoods: false, - show: v.X < 246626 && v.X > 126061 && v.Y < 188055 && v.Y > 116722 + show: v.X < 245000 && v.X > 126000 && v.Y < 187000 && v.Y > 116000 + // show: true }) }) this.agvData = agvArr @@ -318,7 +319,8 @@ export default { new TWEEN.Tween(this.agvData.find(r => r.id === v.AgvId)).to({ x: (v.X - 126000) / this.siteData.x, y: (72000 - (v.Y - 116000)) / this.siteData.y, - show: v.X < 246626 && v.X > 126061 && v.Y < 188055 && v.Y > 116722 + show: v.X < 245000 && v.X > 126000 && v.Y < 187000 && v.Y > 116000 + // show: true }, time - 100).start() } else { this.agvData.push({ @@ -327,7 +329,8 @@ export default { y: (72000 - (v.Y - 116000)) / this.siteData.y, rotate: v.Angle, isGoods: false, - show: v.X < 246626 && v.X > 126061 && v.Y < 188055 && v.Y > 116722 + show: v.X < 245000 && v.X > 126000 && v.Y < 187000 && v.Y > 116000 + // show: true }) } })