bill 8 月之前
父节点
当前提交
87d34c762a
共有 2 个文件被更改,包括 1 次插入4 次删除
  1. 0 1
      src/components/path/sign.vue
  2. 1 3
      src/views/measure/index.vue

+ 0 - 1
src/components/path/sign.vue

@@ -61,7 +61,6 @@ watchEffect(() => {
 let currentPoints = props.path.points;
 let changPointsTimeout: any;
 path.bus.on("changePoints", (points) => {
-  console.log(points);
   clearTimeout(changPointsTimeout);
   currentPoints = points.map((p, ndx) => ({
     name: p.name,

+ 1 - 3
src/views/measure/index.vue

@@ -60,9 +60,7 @@ import { useViewStack } from "@/hook";
 import type { Measure } from "@/store";
 import type { ActionsItem } from "@/components/actions/index.vue";
 import { asyncTimeout } from "@/utils";
-setTimeout(() => {
-  measures.value.length = 0;
-}, 1000);
+
 const keyword = ref("");
 const filterMeasures = computed(() =>
   measures.value.filter((measure) => measure.desc.includes(keyword.value))