This commit is contained in:
zmj 2023-12-23 15:47:34 +08:00
parent 0f676eec08
commit 303addb3e6
3 changed files with 7 additions and 7 deletions

BIN
node_modules.zip Normal file

Binary file not shown.

View File

@ -12,11 +12,11 @@
</template>
<script setup>
import { defineProps, defineEmits, onMounted, reactive,watch } from "vue"
import { useRouter,useRoute } from 'vue-router'
import { defineProps, defineEmits, onMounted, reactive, watch } from "vue"
import { useRouter, useRoute } from 'vue-router'
import { areaObj } from '@/store/index.js'
import axios from "axios"
const route=useRoute
const route = useRoute
let areaStore = areaObj()
@ -52,7 +52,7 @@ const choseAreaFn = () => {
})
props.choseArea = false
emit('offAreaList', "龙马潭区")
emit('offAreaList', "泸县")
router.replace('/')

View File

@ -217,9 +217,9 @@ const updateTime = () => {
}
onMounted(() => {
setInterval(updateTime, 1000)
MapLoader().then(res => {
area.value = res.addressComponent.district
})
// MapLoader().then(res => {
// area.value = res.addressComponent.district
// })
})