diff --git a/src/views/dike/safeOperation/components/Legend.vue b/src/views/components/Legend.vue similarity index 98% rename from src/views/dike/safeOperation/components/Legend.vue rename to src/views/components/Legend.vue index f359cfd..4250d36 100644 --- a/src/views/dike/safeOperation/components/Legend.vue +++ b/src/views/components/Legend.vue @@ -50,6 +50,7 @@ export default { diff --git a/src/views/reservoir/safeOperation/index.vue b/src/views/reservoir/safeOperation/index.vue index 33c4a0c..c47b03c 100644 --- a/src/views/reservoir/safeOperation/index.vue +++ b/src/views/reservoir/safeOperation/index.vue @@ -112,7 +112,7 @@ import { } from "@/views/aiSupervision/waterSetting/runScene/layerTree/index"; import { queryLayersByPos, getSelectedLayersLegend } from "@/utils/mapUtils"; -import Legend from "./components/Legend.vue"; +import Legend from "@/views/components/Legend.vue"; import { throttle } from "lodash-es"; import { devRun } from "@/utils"; diff --git a/src/views/sluice/safeOperation/components/Legend.vue b/src/views/sluice/safeOperation/components/Legend.vue deleted file mode 100644 index f359cfd..0000000 --- a/src/views/sluice/safeOperation/components/Legend.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - diff --git a/src/views/sluice/safeOperation/index.vue b/src/views/sluice/safeOperation/index.vue index 86d4a49..246716b 100644 --- a/src/views/sluice/safeOperation/index.vue +++ b/src/views/sluice/safeOperation/index.vue @@ -94,7 +94,7 @@ import { import { queryLayersByPos, getSelectedLayersLegend } from "@/utils/mapUtils"; import { throttle } from "lodash-es"; -import Legend from "./components/Legend.vue"; +import Legend from "@/views/components/Legend.vue"; import { devRun } from "@/utils"; const emitter = mitt();