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) -} +