bill 2 年之前
父節點
當前提交
50ef7cc315
共有 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) => {