dingwei
This commit is contained in:
parent
0f676eec08
commit
303addb3e6
Binary file not shown.
|
@ -12,11 +12,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { defineProps, defineEmits, onMounted, reactive,watch } from "vue"
|
import { defineProps, defineEmits, onMounted, reactive, watch } from "vue"
|
||||||
import { useRouter,useRoute } from 'vue-router'
|
import { useRouter, useRoute } from 'vue-router'
|
||||||
import { areaObj } from '@/store/index.js'
|
import { areaObj } from '@/store/index.js'
|
||||||
import axios from "axios"
|
import axios from "axios"
|
||||||
const route=useRoute
|
const route = useRoute
|
||||||
|
|
||||||
let areaStore = areaObj()
|
let areaStore = areaObj()
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ const choseAreaFn = () => {
|
||||||
})
|
})
|
||||||
props.choseArea = false
|
props.choseArea = false
|
||||||
|
|
||||||
emit('offAreaList', "龙马潭区")
|
emit('offAreaList', "泸县")
|
||||||
router.replace('/')
|
router.replace('/')
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -217,9 +217,9 @@ const updateTime = () => {
|
||||||
}
|
}
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
setInterval(updateTime, 1000)
|
setInterval(updateTime, 1000)
|
||||||
MapLoader().then(res => {
|
// MapLoader().then(res => {
|
||||||
area.value = res.addressComponent.district
|
// area.value = res.addressComponent.district
|
||||||
})
|
// })
|
||||||
|
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue