From 55dd0b609bcead80b7fdc2f6ef21b96af9659295 Mon Sep 17 00:00:00 2001
From: yyy <2605810609@qq.com>
Date: Thu, 6 Mar 2025 10:43:11 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E7=BC=96=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/mapPage/realTimeMap/editMap.vue | 48 ++++++++++++++++-------
1 file changed, 33 insertions(+), 15 deletions(-)
diff --git a/src/views/mapPage/realTimeMap/editMap.vue b/src/views/mapPage/realTimeMap/editMap.vue
index a4eb5632..92f13c29 100644
--- a/src/views/mapPage/realTimeMap/editMap.vue
+++ b/src/views/mapPage/realTimeMap/editMap.vue
@@ -325,7 +325,10 @@
style="border: none; z-index: 999"
>
-
+
-
+
-
+
@@ -880,10 +899,10 @@ const mapClick = (e) => {
locationY: y,
actualLocationX: actualLocationX,
actualLocationY: actualLocationY,
- locationDeep: 50,
- locationWide: 50,
- locationDeepPx: 10,
- locationWidePx: 10,
+ locationDeep: 40,
+ locationWide: 40,
+ locationDeepPx: 8,
+ locationWidePx: 8,
angle: 0,
draggable: true,
resizable: true,
@@ -1609,10 +1628,10 @@ const markFormSubmit = async () => {
locationY: pointPx.y,
actualLocationX: actualPoint.actualLocationX,
actualLocationY: actualPoint.actualLocationY,
- locationDeep: 50,
- locationWide: 50,
- locationDeepPx: 10,
- locationWidePx: 10,
+ locationDeep: 40,
+ locationWide: 40,
+ locationDeepPx: 8,
+ locationWidePx: 8,
angle: 0,
draggable: true,
resizable: true,
@@ -2196,7 +2215,6 @@ const getAllNodeList = async () => {
let list = await MapApi.getPositionMapItemList({
positionMapId: imgBgObj.positionMapId
})
- console.log(imgBgObj.width)
state.allMapPointInfo = []
state.currentIndex = 0
list.forEach((item) => {
@@ -2207,8 +2225,8 @@ const getAllNodeList = async () => {
if (item.type === 1) {
item.dataObj = {}
item.dataList = []
- item.locationDeep = 50
- item.locationWide = 50
+ item.locationDeep = 40
+ item.locationWide = 40
item.draggable = true
item.resizable = false
item.rotatable = false