bill 2 anni fa
parent
commit
df64409605

File diff suppressed because it is too large
+ 1 - 1
server/test/a0k4xu045_202305311600080410/attach/sceneStore


+ 2 - 1
src/graphic/Renderer/Draw.js

@@ -719,7 +719,7 @@ export default class Draw {
     ctx.restore();
 
     if (import.meta.env.DEV) {
-      vector.points.forEach(this.drawPoint.bind(this));
+      // vector.points.forEach(this.drawPoint.bind(this));
     }
   }
 
@@ -881,6 +881,7 @@ export default class Draw {
   }
 
   drawCircle(element) {
+    console.log(element)
     this.drawElliptic(element, element.radiusX, element.radiusY)
 
     const [_, label] = help.getVectorStyle(element);

+ 1 - 1
src/views/accidents/index.vue

@@ -40,7 +40,7 @@
           </Photos>
         </div>
       </template>
-      <undata undata-msg="无照片。请点击右上角按钮标注照片。" />
+      <undata v-else undata-msg="无照片。请点击右上角按钮标注照片。" />
     </div>
 
     <ActionMenus class="select-menus" :menus="selectMenus" dire="row" v-if="selects.length" />

+ 12 - 1
src/views/graphic/geos/del.vue

@@ -1,13 +1,24 @@
 <template>
-  <GeoTeleport :menus="menus" class="geo-teleport-use" v-if="geo.type !== VectorType.CurveRoadPoint" />
+  <GeoTeleport
+      :menus="menus"
+      class="geo-teleport-use"
+      v-if="!hideTypes.includes(geo.type) && !hideTypes.includes(geo.category)"
+  />
 </template>
 
 <script setup lang="ts">
 import GeoTeleport from "@/views/graphic/geos/geo-teleport.vue";
 import {drawRef, FocusVector, VectorType} from '@/hook/useGraphic'
 import GeoActions from "@/graphic/enum/GeoActions"
+import VectorCategory from "@/graphic/enum/VectorCategory";
 
 const props = defineProps<{geo: FocusVector}>()
+const hideTypes = [
+  VectorType.RoadPoint,
+  VectorType.CurveRoadPoint,
+  VectorCategory.Point.NormalPoint
+]
+console.log(props)
 const menus = [
   {
     key: 'del',