From da4fa58b1a0abc70b79f8d0370432c8e9ab1a7a9 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 08 三月 2024 15:22:26 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/map/components/device.jsx |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/zy-asrs-flow/src/pages/map/components/device.jsx b/zy-asrs-flow/src/pages/map/components/device.jsx
index 81c69af..21c5f77 100644
--- a/zy-asrs-flow/src/pages/map/components/device.jsx
+++ b/zy-asrs-flow/src/pages/map/components/device.jsx
@@ -52,9 +52,8 @@
 
     const onDragStart = (e) => {
         setDragging(true)
-        props.onCancel();
+        // props.onCancel();
         const sprite = PIXI.Sprite.from(agv);
-        sprite.anchor.set(0.5);
         setDragSprite(sprite);
     };
 

--
Gitblit v1.9.1