dingwei
This commit is contained in:
parent
0f676eec08
commit
303addb3e6
Binary file not shown.
|
@ -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('/')
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
// })
|
||||
|
||||
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue