소스 검색

Merge branch 'master' of http://192.168.0.115:3000/bill/traffic-laser

xushiting 2 년 전
부모
커밋
677ebb8d5d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/graphic/geos/normalLine.vue

+ 1 - 1
src/views/graphic/geos/normalLine.vue

@@ -16,7 +16,7 @@ import VectorWeight from "@/graphic/enum/VectorWeight";
 import VectorCategory from "@/graphic/enum/VectorCategory";
 
 const props = defineProps<{ geo: FocusVector }>();
-const vector = computed(() => dataService.getLine(props.geo.vectorId));
+const vector = computed(() => dataService.getGeo(props.geo.type, props.geo.vectorId));
 const style = ref(vector.value.style || VectorStyle.SingleSolidLine);
 const isCurve = props.geo.type === VectorType.CurveLine;
 const clickHandlerFactory = (key) => {