This commit is contained in:
xhf 2025-02-27 15:16:51 +08:00
commit e04977d893

View File

@ -386,23 +386,11 @@
<template v-for="(curve, index) in state.mapRouteList" :key="index">
<!-- 定义箭头 -->
<defs>
<marker
id="forward-arrow"
viewBox="0 0 10 10"
refX="10"
refY="5"
orient="auto"
>
<marker id="forward-arrow" viewBox="0 0 9 9" refX="10" refY="5" orient="auto">
<path d="M 0 0 L 10 5 L 0 10 z" fill="black" />
</marker>
<!-- 反向箭头 -->
<marker
id="backward-arrow"
viewBox="0 0 10 10"
refX="0"
refY="5"
orient="auto"
>
<marker id="backward-arrow" viewBox="0 0 9 9" refX="0" refY="5" orient="auto">
<path d="M 10 0 L 0 5 L 10 10 z" fill="black" />
</marker>
</defs>
@ -422,6 +410,7 @@
@dblclick="handleEditRoute(curve, index)"
/>
<path
v-if="curve.isSelected"
:d="getLineMidArrowPath(curve)"
stroke="none"
fill="black"
@ -445,6 +434,7 @@
@dblclick="handleEditRoute(curve, index)"
/>
<path
v-if="curve.isSelected"
:d="getBezierMidArrowPath(curve)"
stroke="none"
fill="black"