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 currentPoints = props.path.points;
 let changPointsTimeout: any;
 let changPointsTimeout: any;
 path.bus.on("changePoints", (points) => {
 path.bus.on("changePoints", (points) => {
-  console.log(points);
   clearTimeout(changPointsTimeout);
   clearTimeout(changPointsTimeout);
   currentPoints = points.map((p, ndx) => ({
   currentPoints = points.map((p, ndx) => ({
     name: p.name,
     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 { Measure } from "@/store";
 import type { ActionsItem } from "@/components/actions/index.vue";
 import type { ActionsItem } from "@/components/actions/index.vue";
 import { asyncTimeout } from "@/utils";
 import { asyncTimeout } from "@/utils";
-setTimeout(() => {
-  measures.value.length = 0;
-}, 1000);
+
 const keyword = ref("");
 const keyword = ref("");
 const filterMeasures = computed(() =>
 const filterMeasures = computed(() =>
   measures.value.filter((measure) => measure.desc.includes(keyword.value))
   measures.value.filter((measure) => measure.desc.includes(keyword.value))