Merge branch 'xhf' of http://git.znkjfw.com/ak/zn-admin-vue3-wcs into xhf
This commit is contained in:
commit
e04977d893
@ -386,23 +386,11 @@
|
|||||||
<template v-for="(curve, index) in state.mapRouteList" :key="index">
|
<template v-for="(curve, index) in state.mapRouteList" :key="index">
|
||||||
<!-- 定义箭头 -->
|
<!-- 定义箭头 -->
|
||||||
<defs>
|
<defs>
|
||||||
<marker
|
<marker id="forward-arrow" viewBox="0 0 9 9" refX="10" refY="5" orient="auto">
|
||||||
id="forward-arrow"
|
|
||||||
viewBox="0 0 10 10"
|
|
||||||
refX="10"
|
|
||||||
refY="5"
|
|
||||||
orient="auto"
|
|
||||||
>
|
|
||||||
<path d="M 0 0 L 10 5 L 0 10 z" fill="black" />
|
<path d="M 0 0 L 10 5 L 0 10 z" fill="black" />
|
||||||
</marker>
|
</marker>
|
||||||
<!-- 反向箭头 -->
|
<!-- 反向箭头 -->
|
||||||
<marker
|
<marker id="backward-arrow" viewBox="0 0 9 9" refX="0" refY="5" orient="auto">
|
||||||
id="backward-arrow"
|
|
||||||
viewBox="0 0 10 10"
|
|
||||||
refX="0"
|
|
||||||
refY="5"
|
|
||||||
orient="auto"
|
|
||||||
>
|
|
||||||
<path d="M 10 0 L 0 5 L 10 10 z" fill="black" />
|
<path d="M 10 0 L 0 5 L 10 10 z" fill="black" />
|
||||||
</marker>
|
</marker>
|
||||||
</defs>
|
</defs>
|
||||||
@ -422,6 +410,7 @@
|
|||||||
@dblclick="handleEditRoute(curve, index)"
|
@dblclick="handleEditRoute(curve, index)"
|
||||||
/>
|
/>
|
||||||
<path
|
<path
|
||||||
|
v-if="curve.isSelected"
|
||||||
:d="getLineMidArrowPath(curve)"
|
:d="getLineMidArrowPath(curve)"
|
||||||
stroke="none"
|
stroke="none"
|
||||||
fill="black"
|
fill="black"
|
||||||
@ -445,6 +434,7 @@
|
|||||||
@dblclick="handleEditRoute(curve, index)"
|
@dblclick="handleEditRoute(curve, index)"
|
||||||
/>
|
/>
|
||||||
<path
|
<path
|
||||||
|
v-if="curve.isSelected"
|
||||||
:d="getBezierMidArrowPath(curve)"
|
:d="getBezierMidArrowPath(curve)"
|
||||||
stroke="none"
|
stroke="none"
|
||||||
fill="black"
|
fill="black"
|
||||||
|
Loading…
Reference in New Issue
Block a user