From 5b5c4c9161e655420f6c03b91c37f9027804d190 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 05 三月 2024 20:34:07 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/pages/map/utils.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/zy-asrs-flow/src/pages/map/utils.js b/zy-asrs-flow/src/pages/map/utils.js
index c7bb455..bef2076 100644
--- a/zy-asrs-flow/src/pages/map/utils.js
+++ b/zy-asrs-flow/src/pages/map/utils.js
@@ -14,7 +14,6 @@
export const MapEvent = Object.freeze({
SELECTION_BOX: Symbol.for(0),
- PAN: Symbol.for(1),
})
export const getRealPosition = (x, y, mapContainer) => {
@@ -29,6 +28,7 @@
sprite.anchor.set(0.5);
sprite.cursor = 'pointer';
sprite.eventMode = 'static';
+ sprite.data = {};
}
export const beMovable = (sprite, setDidClickSprite) => {
--
Gitblit v1.9.1