From 86ad3a11043f11ad68ec5ffb733906dd5309bf15 Mon Sep 17 00:00:00 2001
From: zmj <1493694146@qq.com>
Date: Wed, 28 Feb 2024 22:47:53 +0800
Subject: [PATCH] add
---
src/App.vue | 71 +++++++++++++++++++++++---------------
src/components/areaMap.vue | 4 ---
src/view/index.vue | 5 +--
3 files changed, 45 insertions(+), 35 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 217a88c..e0cb8c7 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,36 +1,50 @@
-
+
diff --git a/src/components/areaMap.vue b/src/components/areaMap.vue
index f06caf3..2c76f2f 100644
--- a/src/components/areaMap.vue
+++ b/src/components/areaMap.vue
@@ -316,9 +316,6 @@ const initAreaMap = async () => {
bg.setOption(option);
bg.on('click', function (params) {
- console.log(params, 'parmas')
-
-
if (isMainScreen) {
sendFn('choseTown', { name: params?.name||params?.value })
} else {
@@ -563,7 +560,6 @@ const initTownMap = async (name) => {
}
watch(() => areaStore.userInfo, (value, oldValue) => {
- console.log("监听到了", value)
if (!value.streetCode) {
initGeoJson(value.areaCode)
getFamrCenter().then(res => {
diff --git a/src/view/index.vue b/src/view/index.vue
index 36e7e98..89ff2ea 100644
--- a/src/view/index.vue
+++ b/src/view/index.vue
@@ -11,10 +11,7 @@
import { useRoute } from "vue-router"
const route = useRoute()
import Header from "@/components/Header.vue"
-if (route.query?.type) { localStorage.setItem("TRADE_TYPE", true) }
-else {
- localStorage.setItem("TRADE_TYPE", false)
-}
+