处理城市切换

This commit is contained in:
wangxiaowei
2026-07-21 18:45:11 +08:00
parent b5cb33cd07
commit 23d26916ee
7 changed files with 891 additions and 75 deletions

View File

@ -45,7 +45,7 @@ export default {
...mapGetters(['site_statistic'])
},
methods: {
...mapActions(['getSystemInfo', 'getUser', 'initLocationFunc']),
...mapActions(['getSystemInfo', 'getUser']),
...mapMutations(['setConfig']),
async getConfigFun() {
const { code, data } = await getConfig()
@ -63,12 +63,6 @@ export default {
document.head.appendChild(favicon)
// #endif
// #ifndef MP
if (data.is_open_nearby) {
// 获取定位
this.initLocationFunc()
}
// #endif
}
},
async bindCode(options) {