tangning 1 день назад
Родитель
Сommit
e937cd0caf
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/app/map/App.vue

+ 1 - 1
src/app/map/App.vue

@@ -233,7 +233,7 @@ watch(
 const initMakers = async () => {
   const data = (await getDataQuest()) as any as any[];
   const positions: any[] = [];
-  list.value = data.filter((i) => i.latAndLong) as any[];
+  list.value = data.filter((i) => i.latAndLong && i.mapShow) as any[];
   console.log("list", list.value);
   Array.from(list.value).forEach((item: any) => {
     // console.log(item)