处理城市切换
This commit is contained in:
8
App.vue
8
App.vue
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user