bug 修复
This commit is contained in:
parent
618be7bf0c
commit
d6b503931c
|
|
@ -25,12 +25,7 @@
|
|||
:style="{ transform: `translate(${offsetX}px, ${offsetY}px)` }"
|
||||
>
|
||||
<!-- 图片,宽高 100% 跟随 SVG -->
|
||||
<image
|
||||
width="100%"
|
||||
height="100%"
|
||||
:href="mapInfo.mapBase64"
|
||||
preserveAspectRatio="none"
|
||||
/>
|
||||
<image width="100%" height="100%" :href="demoImg" preserveAspectRatio="none" />
|
||||
|
||||
<!-- 标记的点位 -->
|
||||
<circle
|
||||
|
|
@ -563,6 +558,11 @@ const handleModifyPoint = () => {
|
|||
id: point.id,
|
||||
isAdd: point.isAdd,
|
||||
}
|
||||
|
||||
if (point.markerAngle === null) {
|
||||
message.warning('请先选择角度')
|
||||
return
|
||||
}
|
||||
emits('onHandleAddMarker', markerInfo)
|
||||
}
|
||||
closeContextMenu()
|
||||
|
|
@ -597,7 +597,7 @@ const addDevicePoint = (x, y, y1) => {
|
|||
markerY: y, // 直接存储逻辑坐标
|
||||
markerY1: y1, // 直接存储逻辑坐标
|
||||
markerName: '',
|
||||
markerAngle: '', // 角度
|
||||
markerAngle: null, // 角度
|
||||
markerPreset: '', // 摄像头预置位
|
||||
isAdd: true,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue