Browse Source

fix: 修改需求

bill 1 year ago
parent
commit
aeb51a2f63
2 changed files with 2 additions and 3 deletions
  1. 1 1
      src/view/map/map-board.vue
  2. 1 2
      src/view/map/map-right-poly.vue

+ 1 - 1
src/view/map/map-board.vue

@@ -195,7 +195,7 @@ watch(
           const point =
             bpoint.id &&
             scenePoints.value.find((point) => point.id.toString() === bpoint.id);
-          // point && gotoPointPage(point);
+          point && gotoPointPage(point);
         });
 
         // relicsPolyginsFetch().then((data) => {

+ 1 - 2
src/view/map/map-right-poly.vue

@@ -43,9 +43,8 @@ import { ref, watchEffect } from "vue";
 import type { PolyDataType, DrawingDataType } from "@/request/drawing.ts";
 import { Delete, Download, Edit } from "@element-plus/icons-vue";
 import SingleInput from "@/components/single-input.vue";
-import { scenePosTransform } from "./board";
 import { downloadPointsXLSL2 } from "@/util/pc4xlsl";
-import { scenePoints, scenes } from "@/store/scene";
+import { scenePoints } from "@/store/scene";
 
 import { relics } from "@/store/relics";
 import { ElMessageBox } from "element-plus";