Explorar el Código

feature: 辅助线

xiongxt hace 1 año
padre
commit
f611abf106
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. 1 5
      src/views/svg/index.vue

+ 1 - 5
src/views/svg/index.vue

@@ -12,6 +12,7 @@
       :width="wrapSize.width"
       :height="wrapSize.height"
     >
+      <HelpLine :lines="helpLines" :curNode="curNode" :wrapSize="wrapSize" />
       <SvgLines :lines="lines" :nodes="nodes" />
       <template v-for="i in nodes" :key="i.id">
         <component
@@ -28,11 +29,6 @@
         />
       </template>
       <line v-if="lineStartPoint" v-bind="dashLineAttr" class="dash-line" />
-      <HelpLine
-        :lines="helpLines"
-        :curNode="curNode"
-        :wrapSize="wrapSize"
-      ></HelpLine>
     </svg>
   </div>
 </template>