diff --git a/src/views/index.vue b/src/views/index.vue index bc26a92..b78c40d 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -38,7 +38,7 @@ const scaleRatio = ref(window.innerWidth / 1080) const onSubmit = (e) => { console.log(e) } -const boxPos = ref({x: 100, y: 100, rotate: 30}) +const boxPos = ref({x: 100, y: 100, rotate: 0}) const TOP = defineComponent({ name: 'TOP', @@ -776,6 +776,8 @@ const processData = (data) => { lon: data.Longitude, lat: data.Latitude, } + console.log(area) + console.log(data) // console.log(data.Longitude > area.LonMin, data.Longitude < area.LonMax, data.Latitude > area.LatMin, data.Latitude < area.LatMax) if (data.Longitude > area.LonMin && data.Longitude < area.LonMax && data.Latitude > area.LatMin && data.Latitude < area.LatMax) { let location = {