diff --git a/src/views/index.vue b/src/views/index.vue index 96fbc94..17e0e4e 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -762,7 +762,7 @@ const setItemsId = (e) => { const locationData = ref({}) const currentPosition = ref({}) -function calcRectangleFromPoints(points) { +function calcRectangleFromPoints1(points) { if (!points || points.length !== 4) throw new Error("必须传入四个点"); const R = 111320; @@ -1109,7 +1109,7 @@ const ad = () => { // 3. 接收消息 socket.addEventListener("message", (event) => { - console.log(JSON.parse(event.data)) + // console.log(JSON.parse(event.data)) processData(JSON.parse(event.data)) });