wzg hace 1 año
padre
commit
8dbd557eee
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      src/views/voyage/voyageDetail.vue

+ 1 - 2
src/views/voyage/voyageDetail.vue

@@ -1334,7 +1334,7 @@
   </div>
 </template>
 <script setup>
-import { onMounted, reactive, ref, toRefs, nextTick } from "vue";
+import { onMounted, reactive, ref, toRefs } from "vue";
 import api from "../../apis/fetch";
 import { useRoute } from "vue-router";
 import _ from "lodash";
@@ -1443,7 +1443,6 @@ async function getVoyageDetail(isInit) {
       getPortWeatherList();
       getAccidentList();
     }
-    await nextTick();
     mapRef.value.drawMarkers();
   } else {
     console.log(res);