瀏覽代碼

平时态到应急态弹窗跳转

hmm 8 月之前
父節點
當前提交
50be6ba479
共有 1 個文件被更改,包括 6 次插入9 次删除
  1. 6 9
      src/views/routineCommandMap/company-map.vue

+ 6 - 9
src/views/routineCommandMap/company-map.vue

@@ -77,7 +77,7 @@
 <script setup>
 import AMapLoader from '@amap/amap-jsapi-loader';
 import { useRouter } from 'vue-router';
-import { updateEventLocation,addEvent } from '@/api/emergencyCommandMap/JointDuty';
+import { updateEventLocation, addEvent } from '@/api/emergencyCommandMap/JointDuty';
 
 const props = defineProps({
   visible: {
@@ -284,17 +284,14 @@ function submit() {
       router.push({
         path: '/emergencyCommandMap',
         query: {
-          address:form.address,
-          longitude:form.longitude,
-          latitude:form.latitude
-          }
-        });
+          address: form.address,
+          longitude: form.longitude,
+          latitude: form.latitude
+        }
+      });
     }
   });
 }
-
-
-
 </script>
 
 <style lang="scss" scoped>