重构单位导入路径,优化代码结构

This commit is contained in:
JIANG
2026-03-07 17:31:14 +08:00
parent ddb02cc688
commit b4ab3e287b
11 changed files with 39 additions and 26 deletions
@@ -29,7 +29,7 @@ import VectorSource from "ol/source/Vector";
import { Stroke, Style, Circle, Fill } from "ol/style";
import { bbox, featureCollection } from "@turf/turf";
import { BurstCandidate, BurstLocationResult } from "./types";
import { FLOW_DISPLAY_UNIT } from "../DMALeakDetection/utils";
import { FLOW_DISPLAY_UNIT } from "@utils/units";
interface Props {
result: BurstLocationResult | null;